1、下载、安装nodejs.
https://nodejs.cn/download/
2、设置npm:
npm config rm proxy
npm config rm http-proxy
npm config rm https-proxy
npm config set no-proxy .huawei.com
npm config set registry http://mirrors.tools.huawei.com/npm
3、安装yarn
npm install -g yarn
4、安装最新版vscode
5、设置setting.xml
{
"workbench.settings.editor": "ui",
"workbench.colorTheme": "Default Light+",
"editor.fontFamily": "宋体",
"editor.fontSize": 16,
"editor.fontWeight": "100",
"files.autoSave": "afterDelay",
"autoDocstring.startOnNewLine": true,
"editor.formatOnSave": true,
"editor.formatOnSaveMode": "modificationsIfAvailable",
"editor.tabSize": 4,
"editor.formatOnPaste": true,
"editor.minimap.enabled": false,
"window.commandCenter": true,
"terminal.integrated.defaultProfile.windows": "Command Prompt",
"editor.autoClosingQuotes": "always",
"editor.autoClosingBrackets": "always",
"editor.largeFileOptimizations": false,
"maven.executable.path": "F:\\maven\\apache-maven-3.8.1\\bin\\mvn.cmd",
"workbench.editor.enablePreview": false,
}
6、安装插件
image.png