Disable just the switch snippet in resharper 8 (c#

2019-04-09 20:18发布

I find that the default VS 2013 switch snippet works a lot better than the one from resharper. any way to just disabe that?

2条回答
干净又极端
2楼-- · 2019-04-09 20:30

I keep forgetting that extra "Hit 'Esc' to hide IntelliSense popup;" step :P

查看更多
\"骚年 ilove
3楼-- · 2019-04-09 20:54

I see a couple of ways to get this:

  1. With ReSharper IntelliSense

    • Uncheck 'switch' here: ReSharper | Templates Explorer | Live Templates | C#;

    • Type 'switch' in code editor;

    • Hit 'Esc' to hide IntelliSense popup;

    • Hit 'Tab' to insert VS "switch" code snippet.

  2. With VS IntelliSense

    • Uncheck 'switch' here: ReSharper | Templates Explorer | Live Templates | C#

    • Select 'Visual Studio' here: ReSharper | Options | Environment | IntelliSense | General;

    • Apply this to enable VS IntelliSense;

    • Type 'switch' in code editor;

    • Hit 'Tab' twice to insert VS "switch" code snippet.

查看更多
登录 后发表回答