VScode has a feature where dead code becomes grayed out if it's inside of an #ifdef of #ifndef that never gets entered.
// This is colored normally
#ifdef NOT_DEFINED
// This is gray
#endif
Since ccls should know the states of all macros, I thought it might be possible to add this feature as well. I am not an expert with LSPs, so maybe this would not currently be possible, but I just wanted to ask :). My client is neovim, if that matters.
BTW I really love ccls and I use it all the time <3. Thank you
VScode has a feature where dead code becomes grayed out if it's inside of an
#ifdef
of#ifndef
that never gets entered.Since ccls should know the states of all macros, I thought it might be possible to add this feature as well. I am not an expert with LSPs, so maybe this would not currently be possible, but I just wanted to ask :). My client is neovim, if that matters.
BTW I really love ccls and I use it all the time <3. Thank you