2

I am trying to create a domain specific IDE based on Visual Studio shell. I followed the walk-through to create a basic Isolated Visual Studio Shell Application.

Then I started the basic shell application and drag a C file into it. There's no syntax highlighting because no language service is included yet.

I found the GUIDs for various Visual Studio feature packages. I was expecting some kind of language feature package for C/C++ listed there so I can just add it into my IDE's feature list. But there's not.

So how can I make my IDE recognize the C/C++ language?

Or put it another way, how can I customize Visual Studio to include only features I need?

Some References

There are many extension types I can do with Visual Studio. What interests me most is the Visual Studio-based application. I will put the findings here as my research goes on.

Walkthrough: Creating a Basic Isolated Shell Application

Package GUIDs of Visual Studio Features

Legacy Language Service Extensibility

New Editor and Language Service Extensions

Visual Studio Isolated Shell

Visual Studio Integrated Shell says this:

No programming language is included. However, the integrated shell does provide a framework that allows you to add programming languages.

smwikipedia
  • 61,609
  • 92
  • 309
  • 482
  • 1
    If you want to include Visual Studio's C++ language service, that is not possible, and it's more a legal issue, beyond technical difficulties. You cannot add features from Visual Studio to your Isolated Shell app (you can only *exclude* things), as you could very easily build another Visual Studio competitor with your app. You can however include your own language, with your own parser, etc. This is not customization, it's extension. An awful amount of work. IronPython was an example: https://stackoverflow.com/questions/14087937/is-there-a-custom-language-add-in-for-visual-studio-2012-vs11 – Simon Mourier Oct 25 '17 at 07:21

0 Answers0