VS 2010: Can’t insert mvvm-light snippet using shortcut - incompatibility with resharper 5?

試著忘記壹切 提交于 2019-12-05 21:29:55

This is expected behavior if you have ReSharper IntelliSense turned on - ReSharper suppressed VS native IntelliSense in all file types that it supports, and ReSharper IntelliSense doesn't show VS code snippets. Basically you have a choice of two alternative ways to go:

  1. Turn off ReSharper IntelliSense completely and use VS native IntelliSense. To do that, go to ReSharper > Options > Environment > IntelliSense > General and check "Visual Studio". This will revert back to VS IntelliSense that shows snippets in its completion lists.

  2. Implement your snippet as a ReSharper live template. This will allow you to both have your templates listed in completion lists, and enjoy all advantages that ReSharper IntelliSense provides including support for lowerCamelHumps (completing MyLongTypeName by typing mltn), variable naming suggestions, different rendering styles for immediate and inherited members in completion lists, generating trivial code, etc. You can learn more about ReSharper code completion from this page, and its child pages.

No it should work with R# 5.0, I have it installed also. I am not sure what the issue is. Send me an email and I will pass you my MSN ID so that we can try and debug that.

Thanks, Laurent

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