Monaco-editor: Documentation: How to add diagnostic options to a custom language?

Created on 11 Oct 2016  路  1Comment  路  Source: microsoft/monaco-editor

I'm trying to integrate a new language (built from ANtlr4) into Monaco editor. I was able to try out registering onComplete, hoverHandler etc and I also get the idea on creating a tokenizer. But how can I do syntax validation for this language? I saw sample https://microsoft.github.io/monaco-editor/playground.html#extending-language-services-configure-javascript-defaults where you can set diagnostic options. How can I do the same to a custom language?

Most helpful comment

>All comments

Was this page helpful?
0 / 5 - 0 ratings

Related issues

mbana picture mbana  路  18Comments

oldrich-s picture oldrich-s  路  26Comments

NikGovorov picture NikGovorov  路  92Comments

spahnke picture spahnke  路  26Comments

akosyakov picture akosyakov  路  16Comments