skip to Main Content

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:

enter image description here

After alt+tab:

enter image description here

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


  1. 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.

    enter image description here

    My guesses is that your selectAllSearchEditorMatches or editor.action.selectHighlights command was replaced with alt+tab. Or the problem is caused by other highlighting extensions you have installed.

    enter image description here

    Login or Signup to reply.
  2. 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).

    Login or Signup to reply.
  3. Until the bug is fixed, do this in your settings:

    "editor.occurrencesHighlight": "true",
    
    Login or Signup to reply.
Please signup or login to give your own answer.
Back To Top
Search