Highlight occurrences doesn't work in normal mode
See original GitHub issueSo the highlight occurrences feature in vs code doesn’t work while vim is in normal mode, I understand that this might be an implication of vscode not knowing where the cursor is located while vim is in normal mode but is there a way to get around that?
I am taking about this
Notice how instance of anchor_start
are highlighted, but that’s only in insert mode because vim isn’t engaged.
I also wonder if the extension might report to vscode the current cursor location which i think it does because other things like bracket highlighting seems to work, then why doesn’t it work with word occurrences?
Issue Analytics
- State:
- Created 4 years ago
- Comments:6 (2 by maintainers)
Top Results From Across the Web
"Occurrences Highlight" doesn't work when vscode-go plugin ...
"Occurrences Highlight" doesn't work when vscode-go plugin is enabled. VSCode Version:1.41.1 ... Click the image to get a normal size view.
Read more >Notepad++ highlight occurrences of selected text - Super User
Try the Settings -> Preferences -> Highlighting and uncheck the "Match whole word only" under Smart Highlighting. That seemed to work for me ......
Read more >Automatically highlight all occurrences of the selected text in ...
I like to toggle the search highlight, so I made ctrl+c toggle it in NORMAL mode (otherwise ctrl+c does not do anything in...
Read more >How to highlight all occurrences of a selected word in VIM?
in Normal mode will search for the next occurrence of the word under the cursor. The hlsearch option will highlight all of them...
Read more >Variable highlighting sometimes doesn't work (Editor)
With some variables, clicking on them in the Editor does not highlight other occurrences of that same variable within the current script, ...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
@asvetliakov i’ll test that and report back
Thank you! It would be nice to rigger it automatically on all cursor movements on the plugin side.