Quantcast
Channel: Visual Studio Integrate forum
Viewing all articles
Browse latest Browse all 4410

MPF language extension can't display parse errors

$
0
0

Hi,

I've written a language service using the MPF approach & the Irony grammar engine.

I managed to have outlining , reformatting, syntax highlighting more or less working.

The languageservice.ParseSource() is called when it should, with the proper "Check" parseReason.

In this function, I create hidden regions for outlining, do bracematching , and also call request.Sink.AddError() when there is a parse error. But I get no error display (squiggly underlines, messages, ...) .

Is there something I should check ?

FYI , to get the outling to work, I had to manually set the LanguagePreferences MaxRegionTime to 2000.

Thanks in advance for your help ...


Viewing all articles
Browse latest Browse all 4410

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>