Made for C++11.
Uses this style:
if(/* condition */) {
/* code */
}
There are two ways to install these snippets, with the first being the easiest with the Package Control.
- Press Ctrl + Shift + P
- Type Install and you'll see "Package Control: Install Package"
- Type "C++ Snippets" and it should be the first result.
The other and arguably harder way to install the package is to go to your package directory and run
git clone https://github.com/Rapptz/cpp-sublime-snippet.git
Documentation can be found in the reference.md file.
The overall collection of snippets is licensed under the MIT License but the individual snippets themselves are CC0.