marker folding in python functions and methods
This commit is contained in:
parent
1449e43aa3
commit
dbd48df062
@ -34,16 +34,19 @@ snippet cl
|
||||
${6}
|
||||
# New Function
|
||||
snippet def
|
||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
|
||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):#{{{
|
||||
"""${3:docstring for $1}"""
|
||||
${4:pass}
|
||||
#}}}
|
||||
snippet deff
|
||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}):
|
||||
def ${1:fname}(${2:`indent('.') ? 'self' : ''`}): #{{{
|
||||
${3}
|
||||
#}}}
|
||||
# New Method
|
||||
snippet defs
|
||||
def ${1:mname}(self, ${2:arg}):
|
||||
def ${1:mname}(self, ${2:arg}):#{{{
|
||||
${3:pass}
|
||||
#}}}
|
||||
# New Property
|
||||
snippet property
|
||||
def ${1:foo}():
|
||||
|
Loading…
Reference in New Issue
Block a user