简体   繁体   中英

How to write a Visual Studio Addin to manage comment annotations

I am new to Visual Studio addin development and want to create a small prototype of an addin for a course at the university. I already looked at a couple of tutorials and the VS SDK. Before I dig further into this topic, I want to ask if it is possible to develop what I want:

My goal (for the prototype is) to receive all annotations in the sources commentary annotations (ie TODO, HACK, FIXME, etc.) in my plugin and then to run some analytics.

So, is it (theoretically and using the existing API) possible to get a list of those commentary annotations? If yes, any link to a tutorial, blogpost or code sample would be very much appreciated!

Thank you!

You can use the SVsTaskList service to access standard VS annotations. See also the following EnumTaskItems sample .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM