snipet ?

  • Thread starter Thread starter Jarod
  • Start date Start date
J

Jarod

Hey
In my intelisense ( VS 2005 ) , when I type for example foreach I have
selected in intelisense list snipet called foreach, how to chose it so it
will display the snippet ? I know there is a combination od Ctrl + K + X but
if intelisense displays me a snipet and it's selected maybe there is some
way to run it right away?
Jarod
 
press tab twice.

i.e.

type "for" then tab will complete the word foreach
then tab again and it will insert the snippet.

once the snippet is in you can then tab more times to go to each
variable in snippet.
 
bb said:
press tab twice.

i.e.

type "for" then tab will complete the word foreach
then tab again and it will insert the snippet.

It i write 'for' and press tab it insert the snippet for the 'for loop'

if i write foreach and press tab, then it inserts the foreach snippet.
once the snippet is in you can then tab more times to go to each
variable in snippet.

yesp

/Søren
 
type "for" then tab will complete the word foreach
then tab again and it will insert the snippet.

Can you give some links to the other shortcuts in VS 2005 ? There are hard
to find in MSDN for me.
Jarod
 
open ide
goto tools > snippets manager
you can look through all the snippets installed by default and create
some yourself.
it shows you the directory the snippets live in so you can go there
manually and look at the xml
 
Back
Top