Introduced
Visual Studio Code (VS CODE/VSC) is a free, open-source, modern, lightweight code editor that supports syntax highlighting for almost all major development languages, smart code completion, custom hotkeys, brace matching, snippets, code diff, GIT, and more. Plug-in extensions are supported and optimized for Web development and cloud application development. Software cross-platform support for Win, Mac, and Linux, so Python programmers are also very important to it.
If you've never been in another programming language and learned Python first, be sure to know that Pycharm is your most adept weapon!
One, the download and installation of Visual Studio code
After the Visual Studio code download is complete, click the downloaded EXE file to install it automatically.
Ii. Introduction to the Visual Studio code interface
After the installation, we see the following visual Studio code interface, of course, different system interface border slightly different, basic layout
Preferences settings
Here are some simple settings, let's take care of the most important font size settings, the others are similar, click the menu:
Jump to the following page, VS code will open two files:
Introduction to Toolbars
1. Resource Manager
On the file, click the right mouse button, there is a copy path, you can copy the physical path of the file.
2. Search
3. Git version control
Right-click Folder can be opened directly, after opening, we continue to see
Enter the following content
Then press CTRL + S to save the file, and then look at the changes in the Git toolbar
4. Commissioning
This function is simply the debug code
Iii. Visual Studio Code onboarding Experience
VS code supports a variety of programming languages (including powerful Python), let's take a look at the official note:
1. File type
Let's take a look at vs code writing code handy
Select the first change Language Mode, or you can open the language selection box.
2. File encoding
After selecting, the following options appear:
We can choose according to the need, here we choose to save the encoding format,
3, MarkDown
One of the more favorite is that vs code also supports Markdown's writing and previewing, let's take a look at:
Common shortcut keys:
Formatting adjustments
Cursor-related
Refactoring code
Find replacements
Show related
Other
VS Code installation and use, Python top IDE Programming Guide!