Hello everybody,
I’m developing a Visual Studio-based application in isolated mode (VS 2013). So far everything has gone smoothly, I have programmed some VSPackages, they manage their windows with their items, doing their things.
The problem arising is how to open a C# file (.cs) in the editor and have syntax coloring, statement completion and the rest of features provided by the language service. If I use VsShellUtilities.OpenDocument() the C# file is opened, but I have no language-specific support.
I have read Language Services part of the Visual Studio SDK tutorial and now I’m exploring the Projects part, but I don’t think I need a new project type or language service. I think I would use the C# language service provided by VS “as is”. Should I load it, how?
I would appreciate any suggestions and hints.
Pedro.
I’m developing a Visual Studio-based application in isolated mode (VS 2013). So far everything has gone smoothly, I have programmed some VSPackages, they manage their windows with their items, doing their things.
The problem arising is how to open a C# file (.cs) in the editor and have syntax coloring, statement completion and the rest of features provided by the language service. If I use VsShellUtilities.OpenDocument() the C# file is opened, but I have no language-specific support.
I have read Language Services part of the Visual Studio SDK tutorial and now I’m exploring the Projects part, but I don’t think I need a new project type or language service. I think I would use the C# language service provided by VS “as is”. Should I load it, how?
I would appreciate any suggestions and hints.
Pedro.