ryu1kn / vscode-text-marker

Visual Studio Code Extension. Select text in your code and mark all matches. The marking colour is configurable
https://marketplace.visualstudio.com/items?itemName=ryu1kn.text-marker
MIT License
87 stars 17 forks source link

Feature Request: Add "Clear All Highlights" to context menu #89

Open skjardenCode opened 1 year ago

skjardenCode commented 1 year ago

Hello all,

I would like to add a feature request: It would be helpful to have the action "Clear All Highlights" next to "Toggle Highlight" in the VS Code context menu.

I rarely use "Update Highlight", but I need "Clear All Highlights" much more often.

What do you think?

Thanks!

mitchell-bumgarner commented 9 months ago

This might not apply to you, since I don't do many things with the mouse while coding unless I have to. However, the Command Palette has that option and it's easily accessible. For Mac I simply use CMD+SHIFT+P, not sure if that's the default shortcut or not, but then I literally type the word clear and it is the top result because I use it so much. There are others, but that's the only command that I use in the Command Palette that has the word clear so it just permanently hits that option first. Might be worth a try?

skjardenCode commented 9 months ago

Hi @mitchell-bumgarner ,

absolutely - I also use the command palette and just type "clear", nevertheless thank you very much for your suggestion!

I just thought it would be consistent to have "Clear (all) Highlights" next to "Toggle Highlight".