Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>cxyx-vscode-pluginNew to Visual Studio Code? Get it now.
cxyx-vscode-plugin

cxyx-vscode-plugin

cxyx

|
170 installs
| (0) | Free
cxyx-vscode-plugin
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

cxyx-vscode-plugin

vscode settings.json文件相关配置

// 让插件识别.mpx文件(必须)
"files.associations": {
        "*.mpx": "mpx"
},
// eslint、prettier检测关联(不必须)
"eslint.validate": ["javascript", "typescript", "mpx"],
"prettier.documentSelectors": [
    "**/*.mpx"
],

import文件路径提示

  • 触发条件

    在.mpx文件中输入 from '@cxyx/ 即可触发ts&js文件路径提示,支持模糊匹配 文件路径提示

组件引用路径提示

  • 触发条件

    在.mpx文件中输入 @cxyx/ 即可触发组件路径提示,支持模糊匹配 组件路径提示

组件跳转定义

  • 触发条件

    在.mpx文件中按住command,点击以 @cxyx 开头的组件路径所在行任意位置,即可跳转至对应组件的mpx文件

    组件跳转定义

  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft