471,354 Members | 1,397 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,354 software developers and data experts.

snipet ?

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

Jan 19 '06 #1
4 1219
bb
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.

Jan 19 '06 #2

"bb" <ba********@gmail.com> wrote in message
news:11**********************@g49g2000cwa.googlegr oups.com...
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
Jan 19 '06 #3
> 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

Jan 19 '06 #4
bb
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

Jan 20 '06 #5

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

5 posts views Thread by Fabian | last post: by
10 posts views Thread by J P Singh | last post: by
7 posts views Thread by Rolf Kemper | last post: by
reply views Thread by Nuro de Matos Carvalho | last post: by
3 posts views Thread by Jarod | last post: by
4 posts views Thread by jedi200581 | last post: by
reply views Thread by XIAOLAOHU | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.