Set new tab triggers to try-catch blocks
This commit is contained in:
parent
60084929e4
commit
39a4a3922f
@ -550,7 +550,7 @@ except ${2:Exception}, ${3:e}:
|
||||
${4:raise $3}
|
||||
endsnippet
|
||||
|
||||
snippet try "Try / Except / Else" b
|
||||
snippet trye "Try / Except / Else" b
|
||||
try:
|
||||
${1:${VISUAL:pass}}
|
||||
except ${2:Exception}, ${3:e}:
|
||||
@ -559,7 +559,7 @@ else:
|
||||
${5:pass}
|
||||
endsnippet
|
||||
|
||||
snippet try "Try / Except / Finally" b
|
||||
snippet tryf "Try / Except / Finally" b
|
||||
try:
|
||||
${1:${VISUAL:pass}}
|
||||
except ${2:Exception}, ${3:e}:
|
||||
@ -568,7 +568,7 @@ finally:
|
||||
${5:pass}
|
||||
endsnippet
|
||||
|
||||
snippet try "Try / Except / Else / Finally" b
|
||||
snippet tryef "Try / Except / Else / Finally" b
|
||||
try:
|
||||
${1:${VISUAL:pass}}
|
||||
except${2: ${3:Exception}, ${4:e}}:
|
||||
|
Loading…
Reference in New Issue
Block a user