C++ Snippets
C++11 Sublime Text Snippets
Details
Installs
- Total 76K
- Win 44K
- Mac 10K
- Linux 22K
Jan 21 | Jan 20 | Jan 19 | Jan 18 | Jan 17 | Jan 16 | Jan 15 | Jan 14 | Jan 13 | Jan 12 | Jan 11 | Jan 10 | Jan 9 | Jan 8 | Jan 7 | Jan 6 | Jan 5 | Jan 4 | Jan 3 | Jan 2 | Jan 1 | Dec 31 | Dec 30 | Dec 29 | Dec 28 | Dec 27 | Dec 26 | Dec 25 | Dec 24 | Dec 23 | Dec 22 | Dec 21 | Dec 20 | Dec 19 | Dec 18 | Dec 17 | Dec 16 | Dec 15 | Dec 14 | Dec 13 | Dec 12 | Dec 11 | Dec 10 | Dec 9 | Dec 8 | Dec 7 | |
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Windows | 0 | 6 | 3 | 3 | 3 | 7 | 2 | 4 | 4 | 2 | 5 | 9 | 3 | 6 | 5 | 1 | 7 | 5 | 9 | 2 | 4 | 2 | 4 | 2 | 4 | 4 | 5 | 10 | 2 | 5 | 5 | 4 | 8 | 4 | 4 | 5 | 10 | 6 | 7 | 5 | 6 | 5 | 7 | 6 | 1 | 4 |
Mac | 0 | 0 | 1 | 1 | 1 | 1 | 0 | 0 | 0 | 0 | 0 | 2 | 0 | 0 | 0 | 2 | 0 | 1 | 0 | 0 | 1 | 0 | 2 | 2 | 0 | 3 | 1 | 1 | 1 | 0 | 0 | 1 | 1 | 0 | 1 | 1 | 2 | 0 | 2 | 0 | 2 | 1 | 0 | 1 | 0 | 0 |
Linux | 0 | 1 | 0 | 2 | 2 | 4 | 2 | 1 | 4 | 1 | 2 | 3 | 0 | 1 | 0 | 1 | 2 | 1 | 2 | 1 | 2 | 2 | 1 | 1 | 2 | 2 | 1 | 5 | 2 | 4 | 1 | 0 | 1 | 3 | 2 | 0 | 2 | 4 | 3 | 2 | 1 | 2 | 1 | 2 | 0 | 1 |
Readme
- Source
- raw.githubusercontent.com
C++ Snippets for Sublime Text
This package adds some useful snippets for Sublime Text for C++11. It matches the following style:
if(/* condition */) {
/* code */
}
Installation
Package Control (recommended)
The easiest way to install the C++ Snippets is by using Package Control. Installing it is documented here.
- Open Package Control (or hit Ctrl+Shift+P or Cmd+Shift+P)
- Type install and hit enter
- Type C++ Snippets and hit enter again
Cloning the Repository
You can manually install the package by using Git.
- Navigate to Sublime’s Packages directory
- Run
git clone https://github.com/Rapptz/cpp-sublime-snippet.git
To find out where the Packages directory is, you can go to Preferences and Browse packages…. This will open the directory in your file explorer.
Downloading the Archive
If you don’t have Package Control or Git, you can also download the package. However you really should be using Package Control, because the process is simpler.
- Open https://github.com/Rapptz/cpp-sublime-snippet in your browser
- On the right hand side there is a Download ZIP button – click it
- Go to Preferences and Browse packages… which opens the Packages directory
- Extract the archive inside the Packages directory
Documentation
Documentation can be found in the reference.md file.
License
The overall collection of snippets is licensed under the MIT License but the individual snippets themselves are licensed under CC0.