Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>medusa-i18n-vscode-viewerNew to Visual Studio Code? Get it now.
medusa-i18n-vscode-viewer

medusa-i18n-vscode-viewer

清烛(王刚)

|
153 installs
| (0) | Free
manage i18n text in ide conveniently
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

medusa-i18n-vscode-viewer

前端在代码中部署多语言文案方案,往往会把代码中的中文替换为 i18n.get(key)。这样的话,造成了代码在文本可读性上变得很差。 打开 js,jsx 文件时自动匹配 i18n 区块并高亮,当鼠标 hover 时,会弹出value信息。点击铅笔图标,可以直接打开该 key 在美杜莎平台的编辑页面。

配置

项目 package.json 中配置 "mcmsAppName":"xxxxx"

命令

  • "MCMS: 禁用文案 key 匹配";
  • "MCMS: 启用文案 key 匹配";
  • "MCMS: 重新拉取应用文案包;

History

1.0.0

  • 添加工具启动/禁用开关;
  • 通过命令重新拉取文案包

Enjoy!

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