Rubio
Rubio

Reputation: 1095

ReSharper - How to show custom snippet in IntelliSense

I've created a custom snippet that contains a shortcut proplto. If I hit Ctrl-K, Ctrl-X and open My Code Snippets I can select my snippet. I can also type proplto in code, hit TAB and the snippet is inserted. However, I can't find a way to display my snippet in IntelliSense. It shows prop and propg but not my proplto. I tried adding my snippet by going to Resharper > Templates Explorer, selecting C# and importing my snippet file. It says "No templates of type 'Live Templates' found in the file.'

VS2013 Ultimate ReSharper 8.2

Upvotes: 5

Views: 4017

Answers (1)

Alexander Kurakin
Alexander Kurakin

Reputation: 13523

ReSharper Live Templates feature does not support Microsoft Code Snippets. So, you need to create a new live template manually in ReSharper | Template Explorer | C# | New and type needed code there. More info how to create Live Templates you may find here

After you adding proplto Live Template to Templates Manager, it will be available in IntelliSense.

ReSharper 9.0:
ReSharper>Tools>Templates Explorer

Upvotes: 10

Related Questions