10 results found
-
Formatting Python in VS Code
Formatting Python in VS Code Formatting makes source code easier to read by human beings. By enforcing particular rules and conventions such as line spacing, indents, and spacing around operators, the code becomes more visually organized and comprehensible. You can view an example on the autopep8 page. Keep in mind, formatting doesn't affect the functionality of the code itself. Linting helps ...
-
Python in Visual Studio Code
The Python extension then provides shortcuts to run Python code using the currently selected interpreter (Python: Select Interpreter in the Command Palette). To run the active Python file, click the Run Python File play button in the top-right side of the editor. You can also run individual lines or a selection of code with the Python: Run Selection/Line in Python Terminal command (Shift+Enter ...
-
Visual Studio Code - Code Editing. Redefined
Visual Studio Code redefines AI-powered coding with GitHub Copilot for building and debugging modern web and cloud applications. Visual Studio Code is free and available on your favorite platform - Linux, macOS, and Windows.
-
Visual Studio Code on Windows
Tip If you don't yet have a Copilot subscription, you can use Copilot for free by signing up for the Copilot Free plan and get a monthly limit of completions and chat interactions.
-
Python settings reference - Visual Studio Code
Python Language Server settings Pylance Language Server The language server settings apply when python.languageServer is Pylance or Default. If you have difficulties with the language server, see Troubleshooting in the language server repository.
-
Jupyter Notebooks in VS Code
Jupyter Notebooks in VS Code Jupyter (formerly IPython Notebook) is an open-source project that lets you easily combine Markdown text and executable Python source code on one canvas called a notebook. Visual Studio Code supports working with Jupyter Notebooks natively, and through Python code files. This topic covers the native support available for Jupyter Notebooks and demonstrates how to ...
-
Python environments in VS Code
Python environments in VS Code An "environment" in Python is the context in which a Python program runs that consists of an interpreter and any number of installed packages. Note: If you'd like to become more familiar with the Python programming language, review More Python resources. Types of Python environments Global environments By default, any Python interpreter installed runs in its own ...
-
Portable mode - Visual Studio Code
Visual Studio Code supports a Portable mode that enables moving your installation and related data to a different location.
-
Using GCC with MinGW - Visual Studio Code
Using GCC with MinGW In this tutorial, you configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger from mingw-w64 to create programs that run on Windows. After configuring VS Code, you will compile, run, and debug a Hello World program. This tutorial does not teach you about GCC, GDB, minGW-w64, or the C++ language. For those subjects, there are many good resources ...
-
VS Code API | Visual Studio Code Extension API
VS Code API is a set of JavaScript APIs that you can invoke in your Visual Studio Code extension. This page lists all VS Code APIs available to extension authors.