Visual Studio Code (hereinafter referred to as vscode) is a lightweight and powerful code editor that supports Windows, OSX and Linux. Built-in JavaScript, TypeScript and Node.js support, and has a rich ecosystem of plug-ins can to support other languages C ++, C #, Python, PHP, etc. by installing plug-ins.
First, the installation environment
- Git
- Node.JS, x64, version
>= 10.15.1
,< 11.0.0
- Yarn download method
npm install -g yarn
- Python 2.7 or later (mac computer comes with python do not need to download)
- node can be installed in the official website, you need to pay attention to is the version number, need
>= 10.15.1
,< 11.0.0
- yarn, then direct
npm install -g yarn
- Download the complete version of the environment can be viewed through environmental -v.
Second, cloning and start the project
1, vscode cloning project execution ordergit clone https://github.com/microsoft/vscode.git复制代码
2, and then proceed to the next item
cd vscode复制代码
3, execution (
wait yarn is finished, is to execute some long time)
yarn复制代码
4, the following code is executed
yarn watch 复制代码
The figure below this is a success, oh
5, as well as the final step macOS and Linux execution./scripts/code.sh复制代码
Windows
.\scripts\code.bat复制代码
6, started successfully:
Well, you're done, so start is successful, then we will talk about the next chapter of the inside source.
Note: Reference vscode official website Description Address: github.com/Microsoft/v...