SVG VScode
In the previous chapter we introduced the basic concepts and examples of SVG; in this chapter we will introduce the editor for SVG code -- VScode.
VSCode (full name: Visual Studio Code) is a free cross-platform source code editor developed by Microsoft; the VSCode development environment is very simple and easy to use.
Install VS Code
Installing VSCode is also simple: open the official site https://code.visualstudio.com/, download the package and install it step by step. During installation, pay attention to the installation path setting and that environment variables are added to the system automatically; check all the following options:

For the full VSCode installation tutorial, see:https://www.runoob.com/vscode/vscode-tutorial.html
Create an svg code file
Open VScode and click New File:

Enter svg in the search box and create a test.svg file:

Enter the code:
Save the test.svg file code.
Install the SVG extension
Click the extension icon, search for the keyword svg, and install the extension:

After installation, you can right-click the svg file and select "Preview SVG" from the list:

Preview:
