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 ...
-
Glob Patterns Reference - Visual Studio Code
Visual Studio Code glob patterns referenceGlob Patterns Reference Visual Studio Code uses glob patterns in many components. Examples include setting file and folder includes/excludes in features such as Search, hiding files from the File Explorer or marking them readonly, and setting up programming language-specific file associations. Glob pattern syntax VS Code supports the following glob ...
-
Running Python code in Visual Studio Code
Running Python Code in Visual Studio CodeRunning Python code in Visual Studio Code Whether you are experimenting with smaller lines of Python code in the REPL or ready to run a Python script, the Python extension offers multiple ways to run your code. Interactively running Python code The Python interpreter that is installed on your machine gives you what's known as an interactive REPL (Read ...
-
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.
-
Configure C/C++ debugging - Visual Studio Code
Configure C/C++ debugging A launch.json file is used to configure the debugger in Visual Studio Code. Visual Studio Code generates a launch.json (under a .vscode folder in your project) with almost all of the required information. To get started with debugging you need to fill in the program field with the path to the executable you plan to debug. This must be specified for both the launch and ...
-
Configure VS Code for Microsoft C++
Configure the C++ extension in Visual Studio Code to target Microsoft C++ on Windows
-
Configure C/C++ IntelliSense - Visual Studio Code
Configure C/C++ IntelliSense This article is about configuring the C/C++ extension to provide C++ specific IntelliSense suggestions in Visual Studio Code. IntelliSense is a helpful tool built into VS Code that provides various code editing features to help you code faster and more efficiently. For example, code completion, parameter info, syntax highlighting, Code Actions (light bulbs), and ...
-
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 - The open source AI code editor
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.
-
Code Navigation
Visual Studio Code is a first class editor - but it's also so much more with features such as IntelliSense and smart code navigation.