VS Code: keyboard shortcut to exit a file from preview mode

If I quickly open a file using the quick open menu, is there a key combination that will lead to an open file outside of the preview mode so that when opening a new file it will not replace the current open?

(I'm looking for a keyboard shortcut, not double-clicking on a file name or tab to maintain desktop orientation)

+21
source share
3 answers

Try the command " View: Keep Editor(default shortcut Ctrl+ K, Enter):

Note: this label is a chord, meaning that Enteryou must press after releasing Ctrl+ K.

+25

1.19 ( 2017 .) Alt - Enter ( Ctrl - P) , "", .

[ vscode ?

+10

Quick Open ( ), settings.json:

"workbench.editor.enablePreviewFromQuickOpen": false

(, ), :

"workbench.editor.enablePreview": false
+6

Source: https://habr.com/ru/post/1689161/


All Articles