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
This commit is contained in:
Jim Myhrberg
2011-11-03 20:51:31 +00:00
parent acf84b2fe4
commit 09cc3eec21
533 changed files with 1180 additions and 1180 deletions

View File

@@ -1,4 +1,4 @@
#name : __...__
# name: __...__
# key: __
# --
__${init}__

View File

@@ -1,4 +1,4 @@
#name : for ... in ... : ...
# name: for ... in ... : ...
# key: for
# --
for ${var} in ${collection}:

View File

@@ -1,4 +1,4 @@
#name : if __name__ == '__main__': ...
# name: if __name__ == '__main__': ...
# key: ifmain
# --
if __name__ == '__main__':

View File

@@ -1,5 +1,5 @@
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
#name : _get_foo ... foo=property(...)
# contributor: Julio Carlos Menendez <godinblack@gmail.com>
# name: _get_foo ... foo=property(...)
# key: propg
# --
def _get_${1:foo}(self):

View File

@@ -1,5 +1,5 @@
#contributor : Julio Carlos Menendez <godinblack@gmail.com>
#name : _get_foo ... _set_foo ... foo=property(...)
# contributor: Julio Carlos Menendez <godinblack@gmail.com>
# name: _get_foo ... _set_foo ... foo=property(...)
# key: propsg
# --
def _set_${1:foo}(self, value):

View File

@@ -1,4 +1,4 @@
#name : while ... : ...
# name: while ... : ...
# key: while
# --
while ${condition}: