Disable just the switch snippet in resharper 8 (c#)

血红的双手。 提交于 2019-12-06 05:02:32

问题


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


回答1:


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.




回答2:


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



来源:https://stackoverflow.com/questions/21170329/disable-just-the-switch-snippet-in-resharper-8-c

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!