Smile001
Smile001

Reputation: 167

How to gray out unused C++ variables in VSCode?

VSCode grays out unused variables/imports in JS and TS files.

I use VSCode for writing C++ code also and I have the C/C++ extension installed too.
I want VSCode to also gray out unused C++ variables in my code and maybe also show a warning (if possible), which isn't the case at present in VSCode.

Does anyone know how can I achieve this in VSCode?

Upvotes: 3

Views: 745

Answers (0)

Related Questions