testm snippet missing

I have visual studio 2010 and I installed the trial for 5.1.3000.12 and I no longer have the 'testm' snippet to create an mstest test method.  I still have 'testc', and get the snippet in the original intellisense if I turn off R#'s intellisense, but wondered if anyone knows how to get 'testm' in R#'s intellisense?

Thanks,
Ross

3 comments

Hello Ross,

Could you please check if typing 'testm' and pressing Tab works? Which snippets
(out of 'testc' and 'testm') do you see in ReSharper's IntelliSense and which
in Visual Studio built-in IntelliSense? Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

I have visual studio 2010 and I installed the trial for 5.1.3000.12
and I no longer have the 'testm' snippet to create an mstest test
method.  I still have 'testc', and get the snippet in the original
intellisense if I turn off R#'s intellisense, but wondered if anyone
knows how to get 'testm' in R#'s intellisense?

Thanks,
Ross
---
Original message URL:
http://devnet.jetbrains.net/message/5301969#5301969



0

Andrey,

I've attached a screenshot of the R# intellisense without it showing the testm snippet.  If I hit Tab, which is the normal way to select the snippet in the VS intellisense, it instead chooses the first in the list (only the TestMethodAttribute).  I did discover, however, that if I instead hit Esc to close the R# intellisense and the hit tab with "testm" in place, it does execute the snippet (as you suggested).  However, it would be much more desireable for the snippet to be included in the list and save me the extra Esc keystroke.

Any way to work around that?

Thanks,
Ross



Attachment(s):
missing testm snippet.jpg
0

Hello Ross,

ReSharper cannot list Visual Studio snippets in it's IntelliSense. As a workaround,
you can either create corresponding live templates similar to testc and testm
snippets under ReSharper | Live Templates... or switch to Visual Studio built-in
IntelliSense. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Andrey,

I've attached a screenshot of the R# intellisense without it showing
the testm snippet.  If I hit Tab, which is the normal way to select
the snippet in the VS intellisense, it instead chooses the first in
the list (only the TestMethodAttribute).  I did discover, however,
that if I instead hit Esc to close the R# intellisense and the hit tab
with "testm" in place, it does execute the snippet (as you suggested).
However, it would be much more desireable for the snippet to be
included in the list and save me the extra Esc keystroke.

Any way to work around that?

Thanks,
Ross
---
Original message URL:
http://devnet.jetbrains.net/message/5302156#5302156



0

Please sign in to leave a comment.