Awesome
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 <kbd>Ctrl</kbd> + <kbd>Space</kbd> (works on Windows, Linux, or Mac) to access the available snippets in the editor.
Installation
- Install Visual Studio Code 0.10.1 or higher
- Launch VS Code
- From the command palette
Ctrl
+Shift
+P
(Windows, Linux) orCmd
+Shift
+P
(OSX) - Type
ext install
or just simply selectInstall Extension
- Choose the extension - Cpp Snippets
- Relaunch VS Code
Suggestions for improvement are welcome.