10 results found
-
Programming Languages - Visual Studio Code
In Visual Studio Code, we have support for almost every major programming language. Several ship in the box, for example, JavaScript, TypeScript, CSS, and HTML but more rich language extensions can be found in the VS Code Marketplace. Here are eight of the most popular language extensions:
-
Visual Studio Code debug configuration
For complex debugging scenarios or applications, you need to create a launch.json file to specify the debugger configuration. For example, to specify the application entry point, attach to a running application, or to set environment variables. To learn more about debugging in VS Code, see Debugging in Visual Studio Code.
-
Using GCC with MinGW - Visual Studio Code
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.
-
AI language models in VS Code
Copilot in Visual Studio Code offers different built-in language models that are optimized for different tasks. You can also bring your own language model API key to use models from other providers. This article describes how to change the language model for chat or code completions, and how to use your own API key.
-
Variables reference - Visual Studio Code
To reference VS Code settings (configurations), use the $ {config:Name} syntax. For example, $ {config:editor.fontSize} references the editor.fontSize setting. You can use any VS Code command as a variable with the $ {command:commandID} syntax. A command variable is replaced with the (string) result from the command evaluation.
-
Formatting Python in VS Code
Open a Python file in VS Code. Right-click on the editor to display the context menu. Select Format Document With.... Select Configure Default Formatter... from the drop-down menu. Select your preferred formatter extension from the list.
-
November 2015 (0.10.3 - Beta 2015) - Visual Studio Code
We've updated the yo code generator to create a basic extension project (TypeScript or JavaScript) which has all the metadata and source files necessary for a working extension. The vsce publishing tool lets you easily package and publish your extension.
-
User and workspace settings - Visual Studio Code
VS Code stores workspace settings at the root of the project in a .vscode folder. This makes it easy to share settings with others in a version-controlled (for example, Git) project. You can access the workspace settings in a few ways: Not all user settings are available as workspace settings.
-
Terminal Profiles - Visual Studio Code
Terminal profiles are platform-specific shell configurations comprised of an executable path, arguments, and other customizations. By default several profiles are automatically detected which can be customized or added to. Example profile:
-
Code completions with GitHub Copilot in VS Code
GitHub Copilot acts as an AI-powered pair programmer, automatically offering suggestions to complete your code, comments, tests, and more. It provides these suggestions directly in the editor while you write your code, and it can work with a broad range of programming languages and frameworks. Copilot provides two kinds of suggestions: