Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Keep snippet vars definitions in a single format across all snippets …
…and documentation. The format is: # var-name: value Previously snippets used a mixture of the following formatting: #var-name: value #var-name : value # var-name: value # var-name : value
- Loading branch information
Showing
533 changed files
with
1,180 additions
and
1,180 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : v.begin(), v.end() | ||
# name: v.begin(), v.end() | ||
# key: beginend | ||
# -- | ||
${1:v}.begin(), $1.end |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : class ... { ... } | ||
# name: class ... { ... } | ||
# key: class | ||
# -- | ||
class ${1:Name} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : namespace ... | ||
# name: namespace ... | ||
# key: ns | ||
# -- | ||
namespace |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : template <typename ...> | ||
# name: template <typename ...> | ||
# key: template | ||
# -- | ||
template <typename ${T}> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : using namespace ... | ||
# name: using namespace ... | ||
# key: using | ||
# -- | ||
using namespace ${std}; | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : FILE *fp = fopen(..., ...); | ||
# name: FILE *fp = fopen(..., ...); | ||
# key: fopen | ||
# -- | ||
FILE *${fp} = fopen(${"file"}, "${r}"); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : do { ... } while (...) | ||
# name: do { ... } while (...) | ||
# key: do | ||
# -- | ||
do | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : if (...) { ... } | ||
# name: if (...) { ... } | ||
# key: cc-modeif | ||
# -- | ||
if (${1:condition}) | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : #include "..." | ||
# name: #include "..." | ||
# key: inc | ||
# -- | ||
#include "$1" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : #include <...> | ||
# name: #include <...> | ||
# key: inc | ||
# -- | ||
#include <$1> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : struct ... { ... } | ||
# name: struct ... { ... } | ||
# key: struct | ||
# -- | ||
struct ${1:name} | ||
|
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <param name="..."> ... </param> | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: /// <param name="..."> ... </param> | ||
# key: comment | ||
# -- | ||
/// <param name="$1">$2</param> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <param name="..."> ... </param> | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: /// <param name="..."> ... </param> | ||
# key: comment | ||
# -- | ||
/// <returns>$1</returns> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : /// <exception cref="..."> ... </exception> | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: /// <exception cref="..."> ... </exception> | ||
# key: comment | ||
# -- | ||
/// <exception cref="$1">$2</exception> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using ...; | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: using ...; | ||
# key: using | ||
# -- | ||
using $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using System; | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: using System; | ||
# key: using | ||
# -- | ||
using System; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
#name : using System....; | ||
# contributor: Alejandro Espinoza Esparza <aespinoza@structum.com.mx> | ||
# name: using System....; | ||
# key: using | ||
# -- | ||
using System.$1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : background-color: ... | ||
# name: background-color: ... | ||
# key: bg | ||
# -- | ||
background-color: #${1:DDD}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : background-image: ... | ||
# name: background-image: ... | ||
# key: bg | ||
# -- | ||
background-image: url($1); |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,4 @@ | ||
#name : border size style color | ||
# name: border size style color | ||
# key: bor | ||
# -- | ||
border: ${1:1px} ${2:solid} #${3:999}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : clear: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: clear: ... | ||
# key: cl | ||
# -- | ||
clear: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: block | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: display: block | ||
# key: disp | ||
# -- | ||
display: block; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: inline | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: display: inline | ||
# key: disp | ||
# -- | ||
display: inline; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : display: none | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: display: none | ||
# key: disp | ||
# -- | ||
display: none; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : font-family: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: font-family: ... | ||
# key: ff | ||
# -- | ||
font-family: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : font-size: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: font-size: ... | ||
# key: fs | ||
# -- | ||
font-size: ${12px}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-bottom: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin-bottom: ... | ||
# key: mar | ||
# -- | ||
margin-bottom: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-left: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin-left: ... | ||
# key: mar | ||
# -- | ||
margin-left: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin: ... | ||
# key: mar | ||
# -- | ||
margin: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin top right bottom left | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin top right bottom left | ||
# key: mar | ||
# -- | ||
margin: ${top} ${right} ${bottom} ${left}; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-right: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin-right: ... | ||
# key: mar | ||
# -- | ||
margin-right: $1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,5 +1,5 @@ | ||
#contributor : rejeep <johan.rejeep@gmail.com> | ||
#name : margin-top: ... | ||
# contributor: rejeep <johan.rejeep@gmail.com> | ||
# name: margin-top: ... | ||
# key: mar | ||
# -- | ||
margin-top: $1; |
Oops, something went wrong.