-
Notifications
You must be signed in to change notification settings - Fork 30.5k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There's no apparent way to make files open in a new tab by default. #225453
Comments
Please learn about Preview Mode at https://code.visualstudio.com/docs/getstarted/userinterface#_preview-mode |
Thanks for that info. Unfortunately, the fundamental problem remains. Since this concerns tab behavior, the user will search the settings for "tab." This turns up nothing relevant in them, as far as I can tell. Even if the user finds the Tabs section in the document that you linked to, he won't find the necessary information. It simply says,
In fact, nowhere in the Tabs section does it mention tabs being re-used or how to prevent it. The user will not know that, for some reason, Microsoft calls this behavior "preview mode." This name is arguably wrong, since a preview is almost universally understood to be a separate pane that shows the result of what the user is working on. For example, a webview HTML/CSS preview pane alongside a code-editing pane. Or the UI preview pane alongside the SwiftUI code editor in Xcode. Thus, with no reason to search for the word "preview," the user is highly unlikely to discover the cause or solution to this behavior. And there's still the problem of the undocumented new-tab hotkey opening the tab in the wrong (non-focused) pane. And the lack of "open in new tab" in the file context menu, or any other menu... so at least the user could view and/or assign a hotkey. |
We have a prominent action to change this ad-hoc: Tabs are not really mentioned in the setting because this setting applies when tabs are disabled as well. But I am open to expand the settings description to make it easier to find if someone is willing to step in (keeping it time boxed to 7 days). //cc @benibenj |
I will submit a PR. |
Thanks guys! |
Type: Bug
I've searched the settings for "tab" and found no way to address this: VS Code consistently but inexplicably stops opening new tabs after the second one, as you click on files in the treeview.
The context menu on files in the treeview doesn't even offer an "open in new tab" option, so there's no discoverable hotkey to do so either. I looked in the File and Edit menus too.
One might suspect that double-clicking will do it, but nope. Option-clicking will in fact do it... but in the wrong pane (screen grab attached).
VS Code version: Code 1.92.1 (eaa41d5, 2024-08-07T20:16:39.455Z)
OS version: Darwin arm64 23.5.0
Modes:
System Info
canvas_oop_rasterization: enabled_on
direct_rendering_display_compositor: disabled_off_ok
gpu_compositing: enabled
multiple_raster_threads: enabled_on
opengl: enabled_on
rasterization: enabled
raw_draw: disabled_off_ok
skia_graphite: disabled_off
video_decode: enabled
video_encode: enabled
webgl: enabled
webgl2: enabled
webgpu: enabled
webnn: disabled_off
Extensions (31)
(1 theme extensions excluded)
A/B Experiments
VSCodeWrongPane.mp4
The text was updated successfully, but these errors were encountered: