ReSharper - How to show custom snippet in IntelliSense

I created my own fragment containing a shortcut proplto. If I press Ctrl-K, Ctrl-X and open My Code Snippets, I can select my snippet. I can also enter propltointo the code, press TAB and paste the fragment. However, I cannot find a way to display my fragment in IntelliSense. He shows propand propg, but not mine proplto. I tried to add my fragment by going to Resharper> Templates Explorer , selecting C # and importing my fragment file. It says: "There are no templates such as" Live templates "found in the file.

VS2013 Ultimate ReSharper 8.2

+4
source share
1 answer

ReSharper Live Templates does not support Microsoft code snippets. So, you need to create a new live template manually in ReSharper | Template Explorer | C# | Newand enter the necessary code there. You can find more about creating live templates here.

After you add the propltoLive Template to the Template Manager, it will be available in IntelliSense.

ReSharper 9.0:
ReSharper> Tools> Template Explorer

+9
source

All Articles