4 ms·
There are samples showing how to take a TextMate grammar and wrap it into a VSCode extension. TextMate's system is a bit more complex than Notepad++, but not by
by WorldMaker 10y ago
There are samples showing how to take a TextMate grammar and wrap it into a VSCode extension. TextMate's system is a bit more complex than Notepad++, but not by much. That will give you the basics at least. (Beyond that you'd need to write a "language service" which can be as easy or as hard as you want to dive into compiler trivia.)
I've heard that Visual Studio "15" Preview (not VS 2015, but the next version in development) already supports TextMate language grammars too, and that it is intended to make it easier to eventually share language services between VS Code and VS "Proper", but other than skimming BUILD Talks on the subject I don't know how far along those efforts are.