Open sungwonnam opened 7 months ago
Monokai Pro, like all themes, depends on syntax definitions to color different pieces of code. It could be that the syntax definitions have changed. You can check the definition of the current token via quick panel > Developer: inspect editor tokens and scope
.
I think this is C++? I cannot spot a token difference between the first variable and the second one, so there's no way for themes to differentiate between the two.
Thanks for the reply! I found out why.
I've been using clangd extension and disabled c/c++ intellisense
with "C_Cpp.intelliSenseEngine": "disabled", in my settings.json.
I recently had to re-installed vscode and this time I did not install the
c/c++ intellisense extension because I'm not using it anyway.
I installed the c/c++ intellisense extension to see if it fixes my issue
and now const variable's tokens are colored differently.
After installing c/c++ intellisense the non-const variable token is
variable.other.reaadwrite.cpp
whereas const variable's token name is
variable.other.constant.cpp
On Sun, Apr 21, 2024 at 12:37 AM Wimer Hazenberg @.***> wrote:
Monokai Pro, like all themes, depends on syntax definitions to color different pieces of code. It could be that the syntax definitions have changed. You can check the definition of the current token via quick panel > Developer: inspect editor tokens and scope.
I think this is C++? I cannot spot a token difference between the first variable and the second one, so there's no way for themes to differentiate between the two.
— Reply to this email directly, view it on GitHub https://github.com/Monokai/monokai-pro-vscode/issues/405#issuecomment-2067942781, or unsubscribe https://github.com/notifications/unsubscribe-auth/AAFRWGAX3TTL2KOEBI2KFNLY6NUD7AVCNFSM6AAAAABGPUF2HKVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMZDANRXHE2DENZYGE . You are receiving this because you authored the thread.Message ID: @.***>
When using on vscode, the theme used to render const variable with blue-ish purple but now const variable coloring is the same as non-const variables. Could we have the different coloring scheme for const variables back?