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

ae-mds-plugin

kasol

|
62 installs
| (0) | Free
AE 美杜莎插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

ae-mds-plugin vscode插件

安装

vscode应用商店中搜索"ae-mds-plugin"

配置

  1. 工程目录下新建.vscode/settings.json
{
    ......
    "AEMDSPluginAppName": "美杜莎的应用名称", 
    "AEMDSPluginI18nName": "提取文案时的模板前缀,比如i18n",
    "AEMDSPluginDefaultBatchUpdateLanguage": "提取文案时默认的语种, 比如 zh_CN",
    "AEMDSPluginBucId": "BUC ID "
}

使用

读取文案: 点击右键选择 美杜莎-查询文案。支持模糊搜索: appName | key | value

新增单个文案:

  1. 点击右键选择 美杜莎-新增单个文案.快捷键ctrl+f10
  2. 输入文案key.
  3. 选择语种
  4. 输入对应语种的文案
  5. 查看结果

批量新增文案:

  1. 点击右键选择 提取并更新当前文件的文案。
  2. 会针对诸如i18n('key', 'defaultValue')的样板代码(可配置)进行提取,defaultValue语种默认为简体中文(可配置)

默认快捷键配置

  1. 查询文案
  • windows(ctrl + f10)
  • macos(command + f10)
  1. 新增单个文案
  • windows(ctrl + f11)
  • macos(command + f11)
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft