安装VSCode
1.下载VSCode:https://code.visualstudio.com/
2.点击安装
一路next即可安装成功,并且会自动配置环境变量
安装路径可以自行更改
3.安装成功
点击“完成”,自动运行VSCode
4.加载汉化包
5.安装常用插件
说明:
- Auto Close Tag:Automatically add HTML/XML close tag, same as Visual Studio IDE or Sublime Text does.
- Auto Rename Tag:Automatically rename paired HTML/XML tag, same as Visual Studio IDE does.
- Beauty:Beauty is a code beautifier extension for VSCODE among Web Developing. It supports lots kinds of language, such as javascript,css,less,python,jsx,markups(html,swig,nunjucks)...etc...
- Code Runner:Run code snippet or code file for multiple languages: C, C++, Java, JavaScript, PHP, Python, Perl, Perl 6, Ruby, Go, Lua, Groovy, PowerShell, BAT/CMD, BASH/SH, F# Script, F# (.NET Core), C# Script, C# (.NET Core), VBScript, TypeScript, CoffeeScript, Scala, Swift, Julia, Crystal, OCaml Script, R, AppleScript, Elixir, Visual Basic .NET, Clojure, Haxe, Objective-C, Rust, Racket, Scheme, AutoHotkey, AutoIt, Kotlin, Dart, Free Pascal, Haskell, Nim, D, Lisp, Kit, V, SCSS, Sass, CUDA, Less, Fortran, Ring, Standard ML, and custom command
- JavaScript VS Code JavaScript (ES6) snippets:This extension contains code snippets for JavaScript in ES6 syntax for Vs Code editor (supports both JavaScript and TypeScript).
- Markdown Preview Enhanced:Markdown Preview Enhanced ported to vscode
- Open in Browser:This allows you to open the current file in your default browser or application.
- Path Intellisense:Visual Studio Code plugin that autocompletes filenames
- Vetur:Vue tooling for VS Code