Merge pull request #415 from joshaw/master
java: Add VISUAL to several snippets
This commit is contained in:
commit
a93de17182
@ -180,13 +180,13 @@ endsnippet
|
|||||||
|
|
||||||
snippet elif "else if"
|
snippet elif "else if"
|
||||||
else if ($1)`!p nl(snip)`{
|
else if ($1)`!p nl(snip)`{
|
||||||
$0
|
$0${VISUAL}
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
snippet el "else" w
|
snippet el "else" w
|
||||||
else`!p nl(snip)`{
|
else`!p nl(snip)`{
|
||||||
$0
|
$0${VISUAL}
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
@ -214,7 +214,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet if "if" b
|
snippet if "if" b
|
||||||
if ($1)`!p nl(snip)`{
|
if ($1)`!p nl(snip)`{
|
||||||
$0
|
$0${VISUAL}
|
||||||
}
|
}
|
||||||
endsnippet
|
endsnippet
|
||||||
|
|
||||||
@ -303,7 +303,7 @@ endsnippet
|
|||||||
|
|
||||||
snippet try "try/catch" b
|
snippet try "try/catch" b
|
||||||
try {
|
try {
|
||||||
$1
|
$1${VISUAL}
|
||||||
} catch(${2:Exception} ${3:e}){
|
} catch(${2:Exception} ${3:e}){
|
||||||
${4:e.printStackTrace();}
|
${4:e.printStackTrace();}
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user