fix broken python snippet
This commit is contained in:
parent
4795261b94
commit
eac48f5190
2 changed files with 4 additions and 4 deletions
|
|
@ -169,7 +169,7 @@ var SnippetManager = function() {
|
||||||
// defult but can't fill :(
|
// defult but can't fill :(
|
||||||
case "FILENAME":
|
case "FILENAME":
|
||||||
case "FILEPATH":
|
case "FILEPATH":
|
||||||
return "ace.ajax.org";
|
return "";
|
||||||
case "FULLNAME":
|
case "FULLNAME":
|
||||||
return "Ace";
|
return "Ace";
|
||||||
}
|
}
|
||||||
|
|
|
||||||
|
|
@ -7,8 +7,8 @@ snippet from
|
||||||
# Module Docstring
|
# Module Docstring
|
||||||
snippet docs
|
snippet docs
|
||||||
'''
|
'''
|
||||||
File: ${1:`Filename('$1.py', 'foo.py')`}
|
File: ${1:FILENAME:file_name}
|
||||||
Author: ${2:`g:snips_author`}
|
Author: ${2:author}
|
||||||
Description: ${3}
|
Description: ${3}
|
||||||
'''
|
'''
|
||||||
snippet wh
|
snippet wh
|
||||||
|
|
@ -129,7 +129,7 @@ snippet "
|
||||||
"""
|
"""
|
||||||
# test function/method
|
# test function/method
|
||||||
snippet test
|
snippet test
|
||||||
def test_${1:description}(${2:`indent('.') ? 'self' : ''`}):
|
def test_${1:description}(${2:self}):
|
||||||
${3:# TODO: write code...}
|
${3:# TODO: write code...}
|
||||||
# test case
|
# test case
|
||||||
snippet testcase
|
snippet testcase
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue