Closed venkat-subramani closed 2 years ago
@venkat-subramani This is not a codemirror 6 solution.
Example: Linter: https://codemirror.net/examples/lint/
@jaywcjlove Thanks for your response. I'm able to use linter on code area now. Is it possible to display error marker on line numbers in gutter area ?
@venkat-subramani https://codemirror.net/examples/gutter/
Adding lintGutter() in the extensions list added the error marking for my lints.
@venkat-subramani I'm sorry to reopen this thread but could you help with an example of how you used js-yaml
with react-codemirror for the lint source? I'm having trouble according to the link provided
I want to display lint errors which I receive from external API. Error information I receive from the API is
I would like to add a custom marker with tooltip in the codemirror gutter area. I've found this answer on stackoverflow https://stackoverflow.com/a/72219083 but unable to implement on react-codemirror.