The name of this extension is todo highlight:
It was originally designed to highlight the keywords todo and fixme in the code comments:
But I found that it can highlight any keyword specified by the user, which is very flexible.
Open the settings in the menu file – > Preferences – > user settings:
Use the configuration item: todohighlight.keywords to add the keyword array you want to highlight:
For example, namespace:
In this way, the namespace keyword in the code is automatically highlighted:
More Jerry’s original articles are: “Wang Zixi”: