eclipse-cdt / cdt-lsp

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

Highlight inactive code regions #299

Open ghentschke opened 3 months ago

ghentschke commented 3 months ago

The classic C/C++ Editor in CDT highlights inactive code regions via background coloring: image The new LSP based C/C++ editor does not support this: image

This https://github.com/eclipse-cdt/cdt-lsp/issues/235#issuecomment-1902594971 and the following https://github.com/eclipse-cdt/cdt-lsp/issues/235#issuecomment-1902598666 could be helpful for implementation

davidlehrian commented 3 months ago

I have been searching for how to configure this feature. I second this enhancement. This would make debugging of conditional includes much less tedious.