Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

Parse code to find declarations for tagging

$
0
0

I am developing a Visual Studio editor extension to show some glyph for each (class-level) declarations, i.e constructors, methods, field and events. I based my solution on the Todo example in the Visual Studio SDK examples. My questions is if there is a class in the SDK or elswhere that I can use to parse the code in the editor to find the declarations.

[UPDATE]

After extensively searching through the forum, is EnvDTE2.ActiveDocument.ProjectItem.FileCodeModel.CodeElements the way?



Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>