VS Code tips — Semantic highlighting

preview_player
Показать описание
Today's VS Code tip: semantic highlighting

Semantic highlighting lets VS Code use language smarts to color your code. This can help you identify at a glance if a property is readonly, or if a reference points to a value vs a function.
Рекомендации по теме
Комментарии
Автор

Hi, i need help. Do you know if there is a way to enable/disable semantic highlighting for specific languages? For example, I want semantic highlighting on for javascript but not for C/C++. On vscode's documentation, they say semantic highlighting only supports javascript and typescript at the moment. I don't want my C/C++ token colors being overridden by future semantic highlighting support.

regal_
Автор

When I clicked the checkbox for semantic highlighting, the other languages, like JSON, were highlighted, but C# for some reason isn't highlighted. Any thoughts or suggestions?

clonewars