1.下载
2.安装:
检查NET Framework版本
Installation#
- Download the Visual Studio Code installer for Windows.
- Once it is downloaded, run the installer (VSCodeUserSetup-{version}.exe). This will only take a minute.
- By default, VS Code is installed under
C:\users\{username}\AppData\Local\Programs\Microsoft VS Code
.
Alternatively, you can also download a Zip archive, extract it and run Code from there.
Note: .NET Framework 4.5.2 or higher is required for VS Code. If you are using Windows 7, make sure you have at least .NET Framework 4.5.2 installed. You can check your version of .NET Framework using this command,
reg query "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\NET Framework Setup\NDP\v4\full" /v version
from a command prompt.
直接解压:
打开
3.安装中文插件
4.设置
1)修改显示语言为英文
快捷键【Ctrl+Shift+p】,在搜索框中输入“configure display language”
1)
2)自动保存代码
3)
5.安装live server插件,类似于tomcat
6.vue插件
7.debugger插件
- 然后将生成的 launch.json 的内容替换成:
{
// Use IntelliSense to learn about possible attributes.
// Hover to view descriptions of existing attributes.
// For more information, visit: https://go.microsoft.com/fwlink/?linkid=830387
"version": "0.2.0",
"configurations": [
{
"type": "chrome",
"request": "launch",
"name": "Launch Chrome against localhost",
"url": "http://localhost:8080",
"webRoot": "${workspaceFolder}/src",
"breakOnLoad": true,
"sourceMapPathOverrides": {
"webpack:///src/*": "${webRoot}/*"
}
}
]
}