Open EmilyGraceSeville7cf opened 2 years ago
I suggest add the following snippets (I use Visual Studio Code syntax, but it must be translated to Visual Studio one).
All snippets describe commands without any additional flags.
if
if ${operand1} ${operator|==,equ,neq,lss,leq,gtr,geq|} ${operand2} ${command}$0
ifc
if ${operand1} ${operator|==,equ,neq,lss,leq,gtr,geq|} ${operand2} ( ${command}$0 )
ife
if ${operand1} ${operator|==,equ,neq,lss,leq,gtr,geq|} ${operand2} ${command1} else ${command2}$0
ifec
if ${operand1} ${operator|==,equ,neq,lss,leq,gtr,geq|} ${operand2} ( ${command1}$0 ) else ( ${command2} )
fo
for %%${item} in (${files}) do ${command}$0
foc
for %%${item} in (${files}) do ( ${command}$0 )
fu
:${name} ${command}$0 exit /b 0
I suggest add the following snippets (I use Visual Studio Code syntax, but it must be translated to Visual Studio one).
Conditions
if
([if])ifc
([if] [c]omplex)ife
([if] [e]lse)ifec
([if] [e]lse [c]omplex)Loops
fo
([fo]r)foc
([fo]r [c]omplex)"Functions"
fu
([fu]nction)