mirror of
https://github.com/joaotavora/yasnippet.git
synced 2025-10-14 05:23:04 +00:00

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
10 lines
189 B
Plaintext
10 lines
189 B
Plaintext
# contributor: Julio Carlos Menendez <godinblack@gmail.com>
|
|
# name: _get_foo ... foo=property(...)
|
|
# key: propg
|
|
# --
|
|
def _get_${1:foo}(self):
|
|
return self._$1
|
|
|
|
$1 = property(_get_$1)
|
|
|
|
$0 |