10 results found
-
Commands | Visual Studio Code Extension API
Commands. Commands trigger actions in Visual Studio Code. If you have ever configured a keybinding, then you've worked with commands.Commands are also used by extensions to expose functionality to users, bind to actions in VS Code's UI, and implement internal logic.
-
Programming Languages - Visual Studio Code
GitHub Copilot is an AI-powered code completion tool that helps you write code faster and smarter. You can use the GitHub Copilot extension in VS Code to generate code, or to learn from the code it generates. You can learn more about how to get started with Copilot in the Copilot documentation.
-
Using GCC with MinGW - Visual Studio Code
Get the latest version of MinGW-w64 via MSYS2, which provides up-to-date native builds of GCC, MinGW-w64, and other helpful C++ tools and libraries. This will provide you with the necessary tools to compile your code, debug it, and configure it to work with IntelliSense.
-
C/C++ for Visual Studio Code
When you create a *.cpp file, the extension adds features such as syntax highlighting (colorization), smart completions and hovers (IntelliSense), and error checking. Open VS Code. Select the Extensions view icon on the Activity Bar or use the keyboard shortcut (⇧⌘X (Windows, Linux Ctrl+Shift+X)). Search for 'C++'. Select Install.
-
Refactoring C++ code - Visual Studio Code
To invoke the code action, select a function that has a Quick Fix available, then select the Code Action (light bulb) and choose Copy definition of ‘YourFunctionName’ or Copy declaration of ‘YourFunctionName’.
-
Java refactoring and Source Actions - Visual Studio Code
Visual Studio Code provides many options to refactor your source code as well as Source Actions to generate code and fix issues while you're coding. To access them, click on the light bulb 💡 whenever you see it. Or right-click the editor view and pick Source Action.... More...
-
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.
-
Glob Patterns Reference - Visual Studio Code
VS Code supports the following glob syntax: [] to declare a range of characters to match (example.[0-9] to match on example.0, example.1, …) Note: Paths are separated by / and not \ even on Windows. But when applied, glob patterns will match paths with both slash and backslashes.
-
Debug C++ in Visual Studio Code
To use Cygwin or MinGW debugging features, the debugger path must be set manually in the launch configuration (launch.json). To debug your Cygwin or MinGW application, add the miDebuggerPath property and set its value to the location of the corresponding gdb.exe for your Cygwin or MinGW environment. For example:
-
IntelliSense for cross-compiling - Visual Studio Code
This article is about configuring the C/C++ extension to provide proper IntelliSense (e.g. code completions) in Visual Studio Code when you compile for a different architecture than your development host machine. For example, when your host machine is x64 but you are compiling for Arm.