Why don't you attach your extension to the built in XML Language service?
Registry Keys for File Extensions are under
LocalMachine/Software/Microsoft/VisualStudio/7.1/languages/File extensions/
use 7.1 for VS2003 and 7.0 for VS 2002
Look at .xml extension which is linked to the HTML/XML language service
> We are trying to open an XML file called "documentation.udcdoc" using the
> DTE model. In Visual Studio we have also associated the ".udcdoc" file
[quoted text clipped - 13 lines]
>
> Xavier
Xavier Ramirez - 22 Jun 2004 15:46 GMT
Thanks, now it is working without calling our exe application.
Does this mean the guid passed in EnvDTE.Constants.vsViewKindTextView is
ignored or not working?
> Why don't you attach your extension to the built in XML Language service?
>
[quoted text clipped - 21 lines]
> >
> > Xavier
Jack Peters - 22 Jun 2004 18:25 GMT
Hello Xavier,
is it working the way I suggested?
The TextEditor is different from the language service. Any language service
can use the default TextEditor and give it support for syntax coloring ...
What I suggested is to link your file extension to a Language service rather
than to an given editor and let XML language service pick the right editor
and bring its own complements.
Jack
> Thanks, now it is working without calling our exe application.
>
[quoted text clipped - 29 lines]
> > >
> > > Xavier