Parse code to find declarations for tagging RRS feed

  • Question

  • 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.


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

    • Edited by Bob Louwe Tuesday, December 17, 2013 10:00 AM
    Tuesday, December 17, 2013 9:33 AM


All replies