Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

Sharp tools for VS code for python development

2025-02-23 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Internet Technology >

Share

Shulou(Shulou.com)06/03 Report--

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.

Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.

Views: 0

*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.

Share To

Internet Technology

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report