开发者

Resharper like syntax highlighting

I've used resharper for a while now and i notice that it sometimes adds advise to your code such as this:

Resharper like syntax highlighting

I'm writing a visual studio add-in where i'd like to do the same thing. Could anyone point me 开发者_如何学JAVAin the right direction?


Hadi Hariri has written some good introductions to extend Resharper either with plugins:

http://hadihariri.com/2010/01/12/writing-plug-ins-for-resharper-part-1-of-undefined/

http://hadihariri.com/2010/07/20/writing-plug-ins-for-resharper-part-2-of-n/

... or with a new custom pattern matching feature in Resharper 5.

http://hadihariri.com/2010/08/19/highlighting-custom-patterns-with-resharper/

For getting started with writing the plugin Hadi describes, reference the following dll's from the Resharper install directory:

Resharper like syntax highlighting

And for getting further checkout the source Resharper PowerToys:

http://resharperpowertoys.codeplex.com/

Mind that there are some differences in how to implement the plugins between Resharper versions.

0

上一篇:

下一篇:

精彩评论

暂无评论...
验证码 换一张
取 消

最新问答

问答排行榜