下载Visual Studio Code,下载地址:https://code.visualstudio.com/
参考官网安装之后,想要设置界面展示语言。
设置参考:https://code.visualstudio.com/docs/getstarted/locales
本文以设置中文为例。
安装简体中文语言包
打开插件市场 快捷键为 Ctrl+Shift+X
搜索下载安装语言包 Chinese (Simplified) Language Pack for Visual Studio Code
或者访问下载地址:https://marketplace.visualstudio.com/items?itemName=MS-CEINTL.vscode-language-pack-zh-hans
配置locale.json
中文配置如下
{
// Defines VS Code's display language.
// See https://go.microsoft.com/fwlink/?LinkId=761051 for a list of supported languages.
"locale":"zh-CN" // Changes will not take effect until VS Code has been restarted.
}
配置好之后,保存并重启Vs Code。
语言设置完成。
https://code.visualstudio.com/docs/getstarted/locales#_available-locales 罗列了支持的语言,如下所示
Display Language | Locale |
---|---|
English (US) | en |
Simplified Chinese | zh-CN |
Traditional Chinese | zh-TW |
French | fr |
German | de |
Italian | it |
Spanish | es |
Japanese | ja |
Korean | ko |
Russian | ru |
Bulgarian | bg |
Hungarian | hu |
Portuguese (Brazil) | pt-br |
Turkish | tr |