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

Awesome Snippets

xindzju

|
7,165 installs
| (5) | Free
The most complete C/C++, Python snippets for VS Code.
Installation
Launch VS Code Quick Open (Ctrl+P), paste the following command, and press enter.
Copied to clipboard
More Info

VSCode-Awesome Snippets Complete

The most complete C/C++, Python and Shell snippets for VS Code.

Getting Started

Prerequisites

Visual Studio Code (version > 1.10.0)

Installing

  • Step1: Install Visual Studio Code.
  • Step2: Press Ctrl + Shift + X (windows), Choose the extension "Awesome Snippets", Click the install button.
  • Step3: Relaunch Visual Studio Code to make the extension work.

Usage

e.g.
Options for C++

prefix discription
info file info
cpp quick start
cv quick start for OpenCV
unittest unittest using catch

Options for Python

prefix discription
shebang shebang and encoding
unittest unittest

Options for Shell | prefix | discription | | :-------------: | :--------------: | | shebang | shebang| | if | if | | elseif |elseif| | else |else|

Demo

demo

Contributing

Please read CONTRIBUTING.md for details on our code of conduct, and the process for submitting pull requests to us.

Any requests and feedbacks are most welcome and appreciated, please feel free to contact me via issue or email.

Welcome to share your favorite snippets.

Versioning

We use SemVer for versioning. For the versions available, see the tags on this repository.

Authors

  • Charles Deng --Initial work-- xindzju

See also the list of contributors who participated in this project.

License

This project is licensed under the MIT License - see the LICNESE file for details.

Acknowledgements

  • Hat tip to anyone whose code are used
  • Inspiration
  • etc
  • Contact us
  • Jobs
  • Privacy
  • Manage cookies
  • Terms of use
  • Trademarks
© 2025 Microsoft