Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>vscode-extension-xlogic-tipsNew to Visual Studio Code? Get it now.
vscode-extension-xlogic-tips

vscode-extension-xlogic-tips

miles_fu

|
85 installs
| (0) | Free
动态提示xlogic action的名字
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

tips README

本插件为vuex周边的插件,提供 src/store/module/*.js or *.ts 中文件的action名字 && 智能提示本人开发的数据流框架基于(Rxjs+ramda+vuex),并且带命名空间.

基础功能教程

功能分类

  • 智能提示 action调用的snippets ,出发关键字符 xlogic,一般输入x就可以了
  • 命令,更新和action,如果在开发过程中新增了action,就需要此命令

前置条件

  • vue 项目 (必须)
  • 已 vuex 为主 编写大量的action (必须)
  • 有 module 区别 (可选)

使用方式

加载最新的action

  • 唤起vscode 明令行
  • 输入关键词 actionName
  • 找到 "从新加载 src/store/modules 下面的 actionsName" 插件会重新加载 actionName (文件必须先保存要不得不到最新的action)

智能提示

  • 输入x会提示xlogic
  • 选择xlogic会提示 action的脚本

Features

智能提示 vuex modules下面的action

Version log

0.0.7

  • feat(doc): 重写markdown,增加基础教程gif图

0.0.6

  • feat(config): 增加配置属性 innerActionParams,默认值为(modelName,sourceType,params,gloading,from,transformData,aloading),可自行修改
  • feat(tips): action payload 参数提示(可以在插件配置界面配置 innerActionParams 属性)
  • feat(tips): actionName提示 需要vscode打开字符串内智能提示 (settings.json)
  "editor.quickSuggestions": {
    "other": true,
    "comments": true,
    "strings": true
  },
  • todo 0.0.7 增加 操作gif图
  • todo 0.0.7 更智能提示根据所在文件路径

0.0.5

  • feat 新增 对 store/index.(ts|js) action名字显示

0.0.4

  • fix 增加对.js 文件支持
  • feat 新增 innerAction 配置属性可以自定义配置属性(以英文的,分割)

0.0.3

  • fix 兼容win 路径问题

0.0.2

  • fix 找不到 typescript 问题 是因为 默认是在 devDependencies 下面,需要转移dependencies 然后在 yarn install

0.0.1

  • feat xLogic 智能提示 根据languageID 区分 前缀是 store 还是 context
  • feat command 命令 加载新增的actionName(主要先保存)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft