This paper introduces a visual studio code extension that can highlight any keyword

Time:2021-7-28

The name of this extension is todo highlight:

This paper introduces a visual studio code extension that can highlight any keyword

It was originally designed to highlight the keywords todo and fixme in the code comments:

This paper introduces a visual studio code extension that can highlight any keyword

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:

This paper introduces a visual studio code extension that can highlight any keyword

Use the configuration item: todohighlight.keywords to add the keyword array you want to highlight:

This paper introduces a visual studio code extension that can highlight any keyword

For example, namespace:
This paper introduces a visual studio code extension that can highlight any keyword

In this way, the namespace keyword in the code is automatically highlighted:

This paper introduces a visual studio code extension that can highlight any keyword

More Jerry’s original articles are: “Wang Zixi”:
This paper introduces a visual studio code extension that can highlight any keyword

Recommended Today

VBS obtains the operating system and its version number

VBS obtains the operating system and its version number ? 1 2 3 4 5 6 7 8 9 10 11 12 ‘************************************** ‘*by r05e ‘* operating system and its version number ‘************************************** strComputer = “.” Set objWMIService = GetObject(“winmgmts:” _  & “{impersonationLevel=impersonate}!\\” & strComputer & “\root\cimv2”) Set colOperatingSystems = objWMIService.ExecQuery _  (“Select * from […]