editor icon indicating copy to clipboard operation
editor copied to clipboard

Get parse errors and warnings directly from the Monaco editor.

Open joshpoll opened this issue 3 years ago • 1 comments

Parse errors currently come from the jsonc parser, and we don't have access to parse warnings for trailing commas or comments so they don't show up in the log.

This requires us to first implement https://github.com/react-monaco-editor/react-monaco-editor/issues/501, which will give us access to error and warning information from the Monaco editor.

joshpoll avatar Feb 19 '22 00:02 joshpoll

Similarly, the schema validation could come from the editor instead of ajv (whose error messages are hard to read).

domoritz avatar Feb 19 '22 16:02 domoritz