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

Suggestion: add an option to select only full words #7

Closed naufraghi closed 7 years ago

naufraghi commented 7 years ago

I used a lot a VIM extension (Mark by Ingo Karkat ) like this during refactorings or code exploration, the main difference I spot is that usually if I'm searching for some_variable I may or may not need to see awe[some_variable] highlighted.

Do you think is it possible to make this an option, or add a command one can chose to use this different behaviour?

ryu1kn commented 7 years ago

Thanks for the suggestion. I actually like the idea. Just need to decide how to provide that behaviour. Also probably need to think about case sensitivity together. As you know, right now it's case sensitive and not whole word match.

Hmm...

ryu1kn commented 7 years ago

Just published as v0.7.0.

I'll add a button on status bar to toggle the mode for whole/partial match.

ryu1kn commented 7 years ago

Published as v0.8.0, done! Thank you for your suggestion 😉