Updated space problem- added 'if'

This commit is contained in:
rudfol 2014-01-10 21:23:46 +00:00
parent bc5e3bdb45
commit 76327d17c6

View File

@ -112,8 +112,20 @@ else {
endsnippet endsnippet
snippet eli "else if .. (eli)" snippet eli "else if .. (eli)"
else if (${1:/* condition */}) { else if (${1:/* condition */})
${VISUAL}${0:${VISUAL/(.*)/(?1::\/* code *\/)/}} {
${2:/* else.i */}
}
endsnippet
snippet elie "else if.. else (elie)"
else if (${1:/* condition */})
{
${2:/* else.i */}
}
else
{
${3:/* else */}
} }
endsnippet endsnippet
@ -135,11 +147,11 @@ if (${1:/* condition */})
} }
else if (${3:/* condition */}) else if (${3:/* condition */})
{ {
${4:/* code */} ${4:/* else.i */}
} }
else else
{ {
${5:/* code */} ${5:/* else */}
} }
endsnippet endsnippet