OS X: loop between windows in visual studio code

I am desperately trying to figure out how to switch between windows in Visual Studio Code. Finder has a menu item Cylcle Through Windowsthat I often use. However, this seems to be a Finder option. So I looked at global keyboard shortcuts (since the requirement is probably the same for many applications) and assigned it Move focus to next windowto shift-cmd-F1. This works in Finder and a text editor, but not in Visual Studio code. I checked if the key binding is overridden in VSC, but I don't think so.

Has anyone figured this out and can help me?

Edit : just discovered that this is actually a global shortcut in System Preferences> Keyboard> Keyboard Shortcuts> Move focus to the next window. Unfortunately, Visual Code does not use it.

+25
source share
10 answers

I added the following shortcut for keybindings.json

{
    "key": "alt+tab",
    "command": "workbench.action.quickSwitchWindow"
}

workbench.action.quickSwitchWindow does exactly what I want, and it doesn’t have shortcuts enabled by default (at least on the Spanish keyboard).

+26
source

So, finally I found a solution: although for some reason the system-wide shortcut to move focus to the next window does not work, there is another shortcut that does: shift+cmd+~:)

Found it here: https://support.apple.com/en-us/HT201236

+25
source

Switch window (: workbench.action.switchWindow). - Ctrl + w.

, .

.

+10

shift ⇧ + command ⌘ + ~ , . , :

shift ⇧ + command ⌘ + p " ".

+9

cmd+` cmd+shift+F1 shift+cmd+~ , ctrl+cmd+\ .

Windows - , .

: , cmd+\ , VS, ctrl+cmd+\ -

+2

FYI, Ubuntu (Gnome 3) - alt + ' ( ).

+2

Quick Switch Window... command+N.

Code/Preferences/Keybord Shortcuts quickSwitchWindow

+1

, vscode, "switch" , "Type to search in Keybindings". " ...".

macbook ^ + W - .

+1

, . , :

shift + cmd + "{" or "}"

If you go to the "window" in the application, you will see the menu items "Next document" and "Previous document".

0
source

The ⌘ + team works well for me on a MacBook Pro.

0
source

All Articles