Hi!
I have a VS-Project extension which contains two LanguageServices. Actually, it seems that everything is working fine: Depending on the file extension, the correct LanguageService is chosen (and the respective ParseSource etc. Methods are called). However, Syntax Highlighting doesn't work for the "second" LanguageService. I will shortly summarize the most important issues:
- 1 VS Package containing two (actually quite similar) LanguageServices
- Depending on file extension, VS calls the respective methods of the correct LanguageService
- Synatx highlighting works perfectly fine for the "first" LanguageService
- Syntax highlighting does NOT work for the "second" LanguageService (code just remains black)
-> The "ScanTokenAndProvideInfoAboutIt()" method is called correctly
-> It correctly parses / tokenizes the given line of source
-> It correctly returns the TokenInfo object, especially with TokenInfo.Color and TokenInfo.Type set correctly
-> but anyway, the code remains black. It's just not colorized.
Has anyone encountered a similar problem? I'd be happy to get some feedback which may direct me in the right direction for soving the issue.
Thanks,
Max