The problem appeared completely out of the blue. After changing the window (alt+tab), the word on which the cursor was becomes highlighted. Moreover, such a selection cannot be removed by clicking to the side, like manual selection with a cursor. This highlighting only disappears when I start typing something.
I have searched and tried many settings, turned off all extensions, asked chatGPT, nothing helps. This highlighting is very annoying, I want to get rid of it.
Before alt+tab:
After alt+tab:
I have searched and tried many settings, turned off all extensions, asked chatGPT, nothing helps. This highlighting is very annoying, I want to get rid of it.
3
Answers
When I use alt+tab, only the windows replacement window appears.
You could open your keyboard shortcuts(Ctrl+K Ctrl+S) and search for the command which using shortcuts alt+tab.
My guesses is that your
selectAllSearchEditorMatches
oreditor.action.selectHighlights
command was replaced with alt+tab. Or the problem is caused by other highlighting extensions you have installed.This is a known bug with VS Code 1.87.0. It should be fixed in 1.87.1.
See the following issue tickets for more info:
If you can’t wait, apparently you want work around it by setting
"editor.occurrencesHighlight": "true",
(if you don’t mind).Until the bug is fixed, do this in your settings: