visual-studio-2010intellisensesyntax-highlighting4glgenero

How can I add genero 4gl to Visual Studio 2010 with syntax highlighting and intellisense?


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.

The language I am trying to add is 4Js Genero (a newer version of Informix-4GL). I basically just need support for the .4gl and .per file extensions that are used in Genero/4GL. Does anyone know how to do this, or can point me in the right direction?


Solution

  • 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.