vscode-text-marker icon indicating copy to clipboard operation
vscode-text-marker copied to clipboard

Feature Request: Named highlight

Open wizzard0 opened this issue 3 years ago • 2 comments

Description:

  • after highlighting a string, allow to enter a short description
  • display description in popup OR even over the text (when the cursor is away)
  • even more awesome: text+clickable URL in description (i.e. smth like highlight "10.33.44.55:7777" with text "PROD MySQL server 7" and URL like "notion.so/prod-server-7")
  • load descriptions from .highlights file in project directory (which could then be generated)

Use case: speed up analysis of log files containing a lot of error codes, IP addresses, GUIDs and so on.

wizzard0 avatar May 24 '21 23:05 wizzard0

It would be especially helpful if you keep using the same pattern and have many patterns to highlight. Thanks for the suggestion @wizzard0

ryu1kn avatar May 29 '21 04:05 ryu1kn

It would be especially helpful if you keep using the same pattern and have many patterns to highlight. Thanks for the suggestion @wizzard0

Yep if I understood you correctly you mean something like "enter a regex for IP addresses once and then just click highlights to enter a description for instances of a specific address". Would be great indeed.

wizzard0 avatar May 29 '21 04:05 wizzard0