Description
Describe the bug
When editing a YAML syntax config file, the application crashes if the formatting isn't right and you save the file. It could be if you forget to add an escape character, forget to add a required keyword in the YAML file, or forget to close your ending quotation mark.
To Reproduce
Steps to reproduce the behavior:
- Go to
config/cpp.syntax.yaml
- Update one of the regex by removing the ending quotation mark, for example.
- Save the file, then open a C++ file
- The app should crash
Expected behavior
To prevent the app from crashing, we should have a mechanism that catches the error and displays an error message instead. Maybe even point out where the problem may be coming from.
Desktop:
- OS: MacOS, Linux
hint: The catching mechanism should be implemented probably here:
Line 31 in 29e0742
Metadata
Metadata
Assignees
Labels
Type
Projects
Status
Done