Sharp tools for VS code for python development
Retweet + like = support
Introduction
Recently, in sorting out the contents of the python automated testing course, I found that the Microsoft vs code editor is too powerful, very easy to use, and light weight do not want, I hereby record that friends with choice entanglement are highly recommended to use ta.
PS: compatible with win10 and high resolution screen, I am moved to cry ~ ~
download
Go and see for yourself. It's very simple. Address: https://code.visualstudio.com/Download.
The installation is exe, which is very easy. I can't help it if it won't.
Configuration
After the installation is completed, you need to make the following configurations:
1. Install the python plugin, as shown in the figure
2. Install the vscode-icons plug-in in the same way as above. This is the icon displayed for the categorized file type.
3. Menu File > preferences > Settings, find "python.pythonPath": "python" on the left, and copy to the right parenthesis, change the value python to the actual python path on your computer. My configuration is as follows
4. Write any py file, and then press f5 twice to execute. The first time you press f5 to debug, you can debug step by step, and the debugging information is displayed on the left. Press f5 the second time to execute the rest. If you want to press f5 to execute all at once, you need to change the "stopOnEntry": true in launch.json to "stopOnEntry": false.