Skip to content
| Marketplace
Sign in
Visual Studio Code>Snippets>C/C++ SnippetsNew to Visual Studio Code? Get it now.

C/C++ Snippets

Harsh

|
894,706 installs
| (8) | Free
Code snippets for C/C++
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

C/C++ Snippets

This extension for Visual Studio Code adds snippets for C/C++.

Usage

Type a part of the keywords in snippet e.g., "for" and press enter.

for // Creates a for loop snippet

Alternatively, one can also just press Ctrl + Space (works on Windows, Linux, or Mac) to access the available snippets in the editor.

Installation

  1. Install Visual Studio Code 0.10.1 or higher
  2. Launch VS Code
  3. From the command palette Ctrl+Shift+P (Windows, Linux) or Cmd+Shift+P (OSX)
  4. Type ext install or just simply select Install Extension
  5. Choose the extension - Cpp Snippets
  6. Relaunch VS Code

Suggestions for improvement are welcome.

  • Contact us
  • Jobs
  • Privacy
  • Terms of use
  • Trademarks
© 2023 Microsoft