stimulus-lsp
stimulus-lsp copied to clipboard
Handle syntax errors when parsing controllers
If the controllers in the users codebase have syntax errors they are currently just getting ignored.
We should add a diagnostic message to all files that couldn't be parsed by stimulus-parser
stimulus-parser v0.0.8 now exposes a parseError field on controllerDefinition when encountering a syntax error while parsing a controller https://github.com/marcoroth/stimulus-parser/releases/tag/v0.0.8