本文介绍了在Resharper中使用VS代码段的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在尝试使用Code Contract的代码段,但由于我重新启用了Resharper,因此无法识别它们.另一方面,它可以识别我过去实现的一些代码片段.
I am trying to use Code Contract's Code Snippets but since I turned Resharper back on it doesn't recognize them. On the other hand, it is recognizing some snippets I've implemented myself in the past.
任何想法可能是什么问题?我专门尝试使用cr
和ce
,我认为它们不会与任何其他代码段发生冲突(至少从我在智能感知中所见).
Any ideia of what might be the problem? I'm specifically trying to use cr
and ce
, which I think, don't collide with any other snippets (at least from what I see in the intellisense).
我在VS 2010中使用R#5
I'm using R# 5 with VS 2010
谢谢
推荐答案
按 + ,然后输入您的代码段快捷方式...这是提到
Press + then type your snippet shortcut... this is mentioned here on the Resharper site
这篇关于在Resharper中使用VS代码段的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!