I am using the Ctrl+, keyboard shortcut to navigate between files. However when I select a file and press Enter it opens file in the existing tab with italics on the title. If I select another file using Ctrl+, and press enter it opens the other file on the same tab. Is there a keyboard shortcut to open the file in a new tab instead of the same tab?
To launch the Define Keybinding widget, press Ctrl+K Ctrl+K. The widget listens for key presses and renders the serialized JSON representation in the text box and below it, the keys that VS Code has detected under your current keyboard layout.
You can define a keyboard shortcut for any task. From the Command Palette (Ctrl+Shift+P), select Preferences: Open Keyboard Shortcuts File, bind the desired shortcut to the workbench.
ctrl + b is bound to Add Function Breakpoint by default. You can edit the shortcuts from File->Preferences->Keyboard Shortcuts . Show activity on this post. File > Preferences > Keyboard Shortcuts will show you a list of shortcuts.
"workbench.list.openMode": "doubleClick"
As you have seen, when you single-click a file it previews it in the current tab and you have to double-click it to open it properly for editing. You can disable this behaviour by going into Code's settings and specifying:
"workbench.editor.enablePreview": false
...in your user settings.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With