Visual Studio Code - the code editor for Python with great features

        Visual Studio Code is a source-code editor developed by Microsoft for Windows, Linux and macOS. This code editors has many features like  debugging, syntax highlighting, intelligent code completion, snippets, and code refactoring.we can add more functionality to editor with the help of extensions. The code editor is free to use .

        Visual Studio Code was ranked the most popular developer environment tool In the Stack Overflow 2019 Developer Survey

        VS code(Visual Studio Code)supports C++, C#, CSS, Dockerfile, Go, HTML, Java, JavaScript, JSON,  Less, Markdown, PHP, PowerShell, Python, SCSS, T-SQL, Typescript.

Prerequisites

Python 3 installed on your machine and a local development environment set up


Setup of vs code for python in windows

1)    Download visual studio code from https://code.visualstudio.com/ for windows
2)    Open Visual Studio Code 
3)    Open extension tab in VScode 



4)    Search and install extension given below
  •    python
  •    pythn indent
  •    python path
  •    python type hint 
5)    Enable all the extension in case if they are disabled
6)    edit your settings in settings.json,
  •    press CTRL + SHIFT + P .
  •    search open settings in search box.
  •    choose open settings (json) 
7)    add this code in settings.json file and save

{
   "python.autoComplete.addBrackets"true,
    "python.linting.enabled"true,
    "python.languageServer""Microsoft",
    "python.defaultInterpreterPath""C:\\Program Files\\Python38\\python.exe"
}

8) If prompted click on Reload

Done! you are ready with the best code editor for the python .

Comment down for any queries .

Comments

Popular posts from this blog

Never Ending Loop but when will end doesn't know program in python

Rectangle with pencil in paint with the help of Python programming

How to get all links of any website using Python