10 results found
-
Variables reference - Visual Studio Code
Variables reference Visual Studio Code supports variable substitution in Debugging and Task configuration files, and for some select settings. Variable substitution is supported inside some key and value strings in launch.json and tasks.json files by using the $ {variableName} syntax. Predefined variables The following predefined variables are supported:
-
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 ...
-
Model conversion file structure - Visual Studio Code
Model Conversion reference about project structure.Model conversion file structure This article explains the file structure generated during model conversion workflows and the purpose of each folder and file, including cache handling, history tracking, inference and so on. After creating the model project and running it several times, the file structure might look like this:
-
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 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 ...
-
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 ...
-
Using C++ on Linux in VS Code
Using C++ on Linux in VS Code In this tutorial, you will configure Visual Studio Code to use the GCC C++ compiler (g++) and GDB debugger on Linux. GCC stands for GNU Compiler Collection; GDB is the GNU debugger. After configuring VS Code, you will compile and debug a simple C++ program in VS Code. This tutorial does not teach you GCC, GDB, Ubuntu or the C++ language. For those subjects, there ...
-
Java formatting and linting - Visual Studio Code
Java formatting and linting Language Support for Java™ by Red Hat also provides formatting settings. You can export an Eclipse formatter file and then use it for your project in VS Code. In addition, there are also the Checkstyle for Java and SonarLint extensions, which provide features for live linting and code analysis. Formatter You can use Format Document command to format a Java file ...
-
Manage Jupyter Kernels in VS Code - Visual Studio Code
Descriptions of kernel selection options and tutorials on managing different types of kernels when working with Jupyter Notebooks in Visual Studio Code.
-
Portable mode - Visual Studio Code
Visual Studio Code supports a Portable mode that enables moving your installation and related data to a different location.