如何创建 Visual Studio 插件来分析代码

发布于 2024-07-29 19:34:17 字数 151 浏览 3 评论 0原文

我想尝试为 Visual Studio 编写插件,它可以像 resharper 一样使用代码,例如查看一行代码,然后建议需要添加哪些“using 语句”。

这纯粹是为了教育目的和一点乐趣,但是我不知道从哪里开始使用可扩展性模型。 谁能给我指出一些好的资源的正确方向

I want to have a go at writing add ins for visual studio that can play around with the code like resharper does e.g. look at a line of code and then suggest which "using statements" need to be added.

This is purely for educational purposes and a bit of fun, however I have no idea where to get started with the extensibility model. Can anyone point me in the right direction of some good resources

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

没企图 2024-08-05 19:34:17

我将从 通用编译器基础设施开始 如果您正在分析编译为 MSIL 的代码。

I'd start with the Common Compiler Infrastructure if you are analyizing code compiled to MSIL.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文