-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[support] How to mark errors in a new language? #284
Comments
|
Basically: have one one of text visible on the page but if it starts to fold - display two lines of text etc. Thanks! |
The recommended way to set errors/warnings is via You can listen to |
Thanks |
I'm working on on my own language support in monaco-editor and while adding tokenizer was pretty easy I'm not sure how can I show errors.
I was going throgh api and code and so far found info about Markers and Diagnostics.
For now I'm going to go with something like:
But I'm sure if it's the best place, on the other hand I would like to run
tokenize
only once.Any suggestions?
The text was updated successfully, but these errors were encountered: