In VSCode you can select any text and all occurrences are highlighted, not just one symbol/word.
For example if I select this whole string in visual mode:
document.querySelector('.message').textContent
only the word under the cursor will be highlighted (i.e. max one of the four words), but not the whole string.
Is it possible to implement this behaviour? It helps when refactoring, because it shows you duplicate code.
In VSCode you can select any text and all occurrences are highlighted, not just one symbol/word. For example if I select this whole string in visual mode:
only the word under the cursor will be highlighted (i.e. max one of the four words), but not the whole string.
Is it possible to implement this behaviour? It helps when refactoring, because it shows you duplicate code.
Thanks