Search focus in Visual Studio Code (VSCode)


It is now the case in VSCode that if you click on a file in the explorer (tree) view and then press CTRL+F to search, you'll end up searching for files and folders in the explorer, not for text in an open file. To fix this incredibly stupid "feature", use the keybinding from here:

{
  "key": "ctrl+f",
  "command": "-list.find",
  "when": "listFocus && listSupportsFind"
}