-
Notifications
You must be signed in to change notification settings - Fork 13
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
Yaml syntax errors in .clangd file leads to unhandled exception #245
Milestone
Comments
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 5, 2024
- Move showErrorMessage method from LSpUtils to ClangdConfigurationFileManager since it's only used here. Despite that we do not want to publish the LspUtils when making the org.eclipse.cdt.lsp.clangd package public API.
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 5, 2024
- Add unit test
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 5, 2024
- Add unit test
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 5, 2024
- Add unit test
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 5, 2024
- remove error dialog since it does not belong to the ClangdConfigurationFileManager. The check, if the user edits the .clangd file properly should be done somewhere else.
ghentschke
added a commit
to ghentschke/eclipse-cdt-lsp
that referenced
this issue
Feb 6, 2024
- do not set database path in .clangd file with invalid yaml syntax. The user has to fix it first.
ghentschke
added a commit
that referenced
this issue
Feb 6, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
If the .clangd file has syntax errors like:
and the active build configuration of a MBS project will be changed, an unhandled exception is thrown. The
org.eclipse.cdt.lsp.clangd.ClangdConfigurationFileManager
should not update the.clangd
configuration file in the projects root, because the file syntax is corrupted. It has to be fixed first.The unhandled exception:
The text was updated successfully, but these errors were encountered: