Subscribe

Setting Visual Studio code up for Python

✍️

Pyhton plugin for Visual Studio Code with many good features

17 May, 2021 · 2 min read

I found this super cool feature when you open a Python file in Visual Studio Code. It will help you and suggest the Python plugin.

Visual Studio Code Python plugin

And for beginners in Python like me, this plugin is super helpful. Out of the box, it has some outstanding features.

You can download the Python Visual Studio Code plugin here.

Running Python files in Visual Studio Code

The plugin will automatically bring this cool run button to run your Python scripts inside Visual Studio.

It will automatically start your environment and execute the command, which is incredible!

Running Python inside Visual Studio Code

It also introduces more run functions to execute a test and many more options for Python files.

IntelliSense and documentation

These are super handy for anyone. The plugin will provide IntelliSense auto-complete functionality, as shown in the screenshot below.

VSC Python IntelliSense

Furthermore, it can even state documentation when we hover over certain code blocks.

Python documentation in Visual Studio Code

Debugging Python files

We can easily set breakpoints in our code, then visit the Run & Debug tab and execute the run.

This will, in return, stop the code at that breakpoint and tell us what’s going on till that point.

Debugging Python in Visual Studio Code

This plugin has even more cool features, but I found these to be super useful for people starting Python.

Thank you for reading, and let’s connect!

Thank you for reading my blog. Feel free to subscribe to my email newsletter and connect on Facebook or Twitter

Spread the knowledge with fellow developers on Twitter
Tweet this tip
Powered by Webmentions - Learn more

Read next 📖

Speedtest your connection in Python

21 Jun, 2021 · 2 min read

Speedtest your connection in Python

F-strings in Python

7 Jun, 2021 · 2 min read

F-strings in Python

Join 2097 devs and subscribe to my newsletter