- Get link
- Other Apps
Recent Blog Posts
- Get link
- Other Apps
Hey there coding folks, welcome to yet another coding blow today we are gonna be setting up visual studio code to optimize it with Python and other languages so without further ado let's get started real quick.
To start setting up Python you have to first install Visual Studio code from their official website -
Once the setup file is downloaded and executed, the installation process will begin. During the process, you will be prompted with a checkbox that asks if you want to add Visual Studio Code to the system path.
Adding it to the system path means that you can launch Visual Studio Code from the command line, from any folder or directory, without having to specify the full path to the executable. This can be a huge convenience as it saves time and effort.
It is important to select the option to add Visual Studio Code to the path during the installation process. Failing to do so can cause certain problems and may require additional configuration steps to be taken later. Therefore, it is highly recommended that you check the option to add it to the path when prompted.
Install Python on your PC from the Python official's website again -
There are many releases for Python and just choose the latest release if it is suitable for your PC.
And again you have to check the Python add to path option,
Once done with this, we can just go ahead into vscode and go to the extension's tab you see on the left sidebar.
Once done with installing the extension, you have to search up the coderunner extension while you are in the extension's tab and install it too to make sure that you have a compiler or interpreter for running your code, Now you can choose a specific folder and create a file named anything like file.py with py extension to make sure it's a python file and just go on ahead to write your code.
If you plan to work with HTML, CSS, and PHP, it's recommended that you install their respective extensions to enhance your coding experience. By doing this, you'll have access to advanced features and tools that will help you write code more efficiently and accurately.
You might require different extensions for languages like HTML like the HTML Preview extension which when you right-click on the code after installing it then it allows you to open the HTML page in your default browser or other browsers.
Any errors or questions related to vscode? comment down below!
Comments
Post a Comment
Share your views