Visual Studio Code (hereinafter referred to as vscode) is a lightweight and powerful Code editor for Windows, OSX and Linux. There is built-in JavaScript, TypeScript, and node.js support, and a rich plugin ecosystem that supports C++, C#, Python, PHP, and other languages by installing plug-ins.

1. Installation environment

  1. Git
  2. Node.JS.x64, version > = 10.15.1.The < 11.0.0
  3. YarnDownload methodnpm install -g yarn
  4. Python 2.7 or later (No need to download Python for MAC)
  • Install node on the official website. Note the version number. Yes> = 10.15.1.The < 11.0.0
  • Yarn directlynpm install -g yarn
  • After downloading the environment, you can view the version by using environment -v.

Clone and start the project

1, vscode project clone execution command


git clone https://github.com/microsoft/vscode.gitCopy the code

2. Then enter the project


cd vscodeCopy the code

3. Execution (
Wait for YARN to complete, which takes a long time.)


yarnCopy the code

4. Execute the following code

yarn watch Copy the code

The picture below is a success

There is one last stepMacOS and Linux

./scripts/code.shCopy the code

Windows

.\scripts\code.batCopy the code

6. Successful startup:



Well, we are done, so the launch is successful, next we will talk about the source code inside the next chapter.

Note: Please refer to vscode’s official website address: github.com/Microsoft/v…