Add a new language to Visual Studio 2010 with syntax highlighting and intellisense

前端 未结 2 2006
情深已故
情深已故 2021-02-06 15:07

I am trying to add support for a different language in Visual Studio 2010. I was hoping to add custom syntax highlighting, and have some sort of basic intellisense work with it.

2条回答
  •  长发绾君心
    2021-02-06 15:31

    It's not really for the faint of heart. Don't underestimate how much work you'll have to put in.

    You'll need the Visual Studio 2010 SDK, and then to read (and re-read, and re-read(*)) all about Language Services

    The purpose of a language service in Visual Studio is to provide language-specific support for editing source code in the integrated development environment (IDE). You implement a language service as part of a VSPackage.

    (*) - unless it all immediately makes sense to you.

提交回复
热议问题