-
Notifications
You must be signed in to change notification settings - Fork 29.4k
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
"File > Open Recent" closes all open editor windows before opening the recent file #35655
Comments
@isidorn this was closed as a duplicate of #396, but it I read that issue correctly it covers the ability to have multiple project folders in a single editor window. What I thought the present bug covers is better support for multiple editor windows. cc @peterdarthur to see if he had the same in mind? Specifically, as the title suggest, there is a very annoying issue that if you are in an editor window with some folder opened, and you then use File > Open Recent to open another folder, then vscode force-closes the current editor window before opening a new one. |
fyi @bpasero |
This is very different from #396. I don't need multiple project folders open at once in one window, but what I would like (concerning the original complaint) is either: A. Warning dialog that prompts me with "Are you sure you would like to open X recent file? Proceeding will close all currently open files and projects" [Cancel] [OK] or or Currently, as mentioned in the original post, opening a recent file force-closes open windows. I haven't found any other threads that mention "Open Recent" in this way. This bug closes files without warning and should be addressed. Is it possible to reopen this issue, @isidorn ? |
I would also prefer something like option C. |
We never close any window when you pick a file from the File > Open Recent list. You are talking about opening folders right? Anyway, you workaround this by setting |
@bpasero I'm encountering this issue myself actually, running on macOS - if I choose a project from "Open Recent", the currently open window is replaced entirely with the other project, even if I have Option+Clicking the entry forces it to open in a new windows as expected, but I'd like to make that the default somehow. Do you have any ideas as to what might be causing that? EDIT: I found the cause - my own stupidity 😆 - I had actually set |
Multiple editor windows are supported in VSCode, although it is not as intuitive as Sublime or other editors to achieve this:
But in this case, it seems like VSCode explicitly wants to prevent multi-window editing. Try this for yourself:
Steps to Reproduce:
Is it just me?
The text was updated successfully, but these errors were encountered: