I want write a vs extensibility which can retrieve the text from the vs studio (for example c/c++ source code), and process it, like replacing some function name, or adding some comments at file top. Could someone explain the right direction to do this? I am very new to vstudio.extensibility, the document and examples seem only to deal with things like how to add fancy menu, toolbar... IMHO, processing text should be the most important thing to do to extend a editor... ok, I know vstudio is more than a editor...