views:

227

answers:

4

I'm trying to use the simple pre-installed code snippets in VS2008. I can insert them by right-clicking and using Insert Snippet..., but I can't get them to work while typing. If I start to type "for", I get the Intellisense list, and I see an entry for the code snippet, but hitting Tab or Enter just inserts the word for, not the snippet.

What am I doing wrong here?

+6  A: 

try hitting tab once more..

baretta
What he said... :)
Sakkle
A: 

Or in Emacs style

ctrl-k ctrl-x
Soltys
A: 

It could be your using any kind of VPC software that is intercepting your tab commands and inject them into VPC with a wrong code. I havent found a solution yet though.

Barfieldmv
A: 

Which language you are using?

C++ snippets don't work in VS2008. MS took that feature out :(

Ketan