Skip to content
| Marketplace
Sign in
Visual Studio Code>Other>leguandeNew to Visual Studio Code? Get it now.
leguande

leguande

莽夫

|
89 installs
| (0) | Free
个人插件
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

个人 vscode 插件

介绍

在项目根目录配置 leguande.config.json

{
    // i18n相关配置
    "i18n": {
        // 菜单 name: 文件夹名, key: 对象名, redirect代表重定向目录
    	"menus": ["index", "manage", {"name": "common", "key": "base"}, {"name": "lecture", "redirect": "index"}],
        // i18n自动补齐功能
        // "notice": false 不开启自动补齐功能
        "notice": {
            "chinese": true, // 是否提示中文
            "default": "common" // 默认模块名, 当不在index/ 或 manage/ 文件夹下时, 默认到common下找i18n内容
        },
        // 忽略文件, 以中文目录为准
        "ignore": ["help.js"]
    }
}

快捷键

alt+i: 新增国际化配置

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