The name of this extension is TODO Highlight:
This is designed to highlight key words like TODO and FIXME in code comments:
But I found that it can highlight any keyword specified by the user, which makes it very flexible.
Open the Settings in File -> Preferences -> User Settings:
Using the configuration item todoHighlight. Keywords, add the keyword array that you want to highlight:
Such as the namespace:
In this way, the namespace keyword in the code is automatically highlighted:
More of Jerry’s original articles can be found on “Wang Zixi “: