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

Highlight disappears when reopening html sheet #40

Closed MEKKIHUSSEIN closed 5 years ago

MEKKIHUSSEIN commented 5 years ago

Text highlighting disappears whenever I close and reopen any file. (I did save it but the problem persists).

The GIF below shows the problem. 2019-08-19-20-48_1

ryu1kn commented 5 years ago

Hi @MEKKIHUSSEIN , thanks for the very helpful gif!

Since Text Marker doesn’t save highlights in your html file, saving with File menu “Save” won’t persist the highlights. Instead, you need to use ”Save All Highlights” command of Text Marker. You can find it by start typing it into Code’s command pallete (Ctrl + Shift + P). Let me know if you see issues 👍