eclipse-cdt / cdt-lsp

Eclipse CDT™ LSP Extensions for CDT
Eclipse Public License 2.0
26 stars 11 forks source link

Check .clangd configuration file syntax #247

Closed ghentschke closed 7 months ago

ghentschke commented 8 months ago

Because of #245, the user has to be informed, that the yaml syntax is invalid. It's assumed that the user has no yaml editor in his Eclipse IDE and if so, the .clangd file would not be recognized as yaml file since it has no file ending.

jonahgraham commented 8 months ago

Can we create an error marker for the problematic clangd file?

ghentschke commented 8 months ago

Can we create an error marker for the problematic clangd file?

That's exactly what I'am currently working on :-)

jonahgraham commented 8 months ago

Can we create an error marker for the problematic clangd file?

That's exactly what I'am currently working on :-)

:-) Brilliant!