Skip to content
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

Highlight inactive code regions #299

Open
ghentschke opened this issue Mar 15, 2024 · 3 comments
Open

Highlight inactive code regions #299

ghentschke opened this issue Mar 15, 2024 · 3 comments
Assignees
Labels
enhancement New feature or request

Comments

@ghentschke
Copy link
Contributor

ghentschke commented Mar 15, 2024

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 #235 (comment) and the following #235 (comment) could be helpful for implementation

@ghentschke ghentschke added the enhancement New feature or request label Mar 15, 2024
@davidlehrian
Copy link

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

@ghentschke ghentschke self-assigned this Jun 14, 2024
ghentschke added a commit to ghentschke/lsp4j-4m that referenced this issue Aug 18, 2024
this feature is needed for a clangd protocol extension. See this cdt-lsp
issue eclipse-cdt/cdt-lsp#299
and this clangd commit: https://reviews.llvm.org/D143974
It is needed for macro enable in the C/C++ language
@Schlumpf
Copy link

Is this related? microsoft/language-server-protocol#1938

@ghentschke
Copy link
Contributor Author

Is this related? microsoft/language-server-protocol#1938

Yes, it is.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants