在VS2010中通过CodeModel探索源代码. [英] Exploring Source code via CodeModel in VS2010.

查看:68
本文介绍了在VS2010中通过CodeModel探索源代码.的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

您好,有什么办法,如何处理DTE2 CodeModel中的更改?我试图在VS2010 SP1的VSPackage中处理CodeModelEvent,但是似乎并没有触发它们.还有其他获得CodeModel更改的可能性吗?足够了 以获得当前编辑的CodeElement.

Hello, is there any way, how handle changes in DTE2 CodeModel? I´m trying to handle CodeModelEvents in my VSPackage in VS2010 SP1, but it seems that they aren´t fired. Is there any other possibility to obtain CodeModel changes? It will be enough to get currently edited CodeElement.

 

感谢所有答复.

推荐答案

这有帮助吗?

PRB:CodeModelEvents不触发Visual Studio加载项中的事件
http://www.mztools.com/Articles/2008/MZ2008007.aspx

PRB: CodeModelEvents not firing events in a Visual Studio add-in
http://www.mztools.com/Articles/2008/MZ2008007.aspx


这篇关于在VS2010中通过CodeModel探索源代码.的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆