-
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
Improve workspace management #1133
Comments
Referencing issue #1044 |
See issue #224 |
See issue #2625 |
We also should explore allowing users to toggle editors and panels from being vertically or horizontally split. |
I just saw this linked from the 'Add tabs' issue, and wanted to comment because I just added this very idea to the UserVoice. If you treat the open files as a stack so that closing the latest brings you back to where you were in the previous file, then that'd be awesome (and expected) default behavior. |
I have gone through the discussion on #224 to create a list of suggestions for improving document management: Tabs
Stacked editors
Document management
|
As a new user to VS code, every day I accidentally merge the two-column layout into single-column layout when I intend to just close the document. Ideally, the close button would close the document and another document would come in its place.
I know that existing VS code users are already adjusted to the behavior of the buttons, and I just wanted to point this out before I get accustomed to the current behavior. The buttons don't meet user's expectations (they don't offer affordability) and thus may evoke a negative feeling in other newcomers to VS code. |
@AmadeusW thanks for sharing. We would love to get your feedback once we have a prototype of the changes. |
I didn't see it mentioned in the list of tab features above, so I'll add my personal favorite (hard to work without it): As to the people who have 1000 tabs open at once... why? Just close your files. :) Most people are only working in a small handful of files at a time, which all usually fit into easy Sublime handles tabs perfectly, just copy it! |
#3742 |
To include with the list of things to restore when re-opening a folder: window metrics. I often open multiple vsCode windows using the "-n" flag...and the window usually opens kind of small and centered - so I have to resize it to my standard "working location" (I use multiple desktops, so I have one vsCode per desktop - they all use the same "space" but on their own desktops). It would be a lot easier if I could open a new vsCode window, then open a recent folder, and vsCode would restore itself to where it was when I last left the project. |
I'm not sure if I should open a separate case for this, but in addition to @stevencl and everyone's comments above, I've recently been struggling with the following:
I haven't looked at the vscode code yet, but perhaps I can work on one of the above. I am just unclear on what should be an extension vs a PR into vscode. |
Number 3 would be fantastic, it's my biggest pet peeve when a file opens in a different tab that I want it to open. |
A save tab group featureI work on a lot of open source projects, so this might be an atypical work flow but I'll describe it and what it means for tabs. I open my project and it in I have a folder with my dependencies, in case of js, When I need to track down a bug in one of my dependencies, I go to the debug pane and start stepping through the code. On the way I will probably change some things and restart the debugging session. When I'm done, I will probably have around 10 tabs open in my dependencies and 1-2 in my own project. Now I want to leave some of the dependency tabs open, the ones which has my changes, and go back to code in my own 1-2 tabs. When I'm sure that I want to create a PR with my changes, I What I would really like, is to have a save-tab-group option. So that I can close the tabs with changes and continue to work in my own project but I need a way to get them back, at the same position as I left them. My work around is to open split editor, click the Editor Group Layout button and minimize the dependency tabs as much as I can. My workstation is a small laptop, so I quickly run out of screen space. |
PS. I can drag an open editor from the OPEN EDITORS section into the editor group I want, which is great! But OPEN EDITORS gets very confused - it might be a bug. |
The problem with "save tab group" is how to get it back - you need a handle. The way Chrome does it is a folder in your bookmarks - how do you imagine vscode would do it? The folder would have to be tied to a root folder... and then people will forget it and then you have these orphaned "bookmarks" all over the place. I actually think what you're doing now with throwing them all over to a different pane is how I would prefer to do it... |
I imagine that all of the editors in my workspace would close, and the open editors, in OPEN EDITORS, would fold up into a folder with a name I choose when saving them. I can then have a pristine work space with my project files and when I need, I can click on the folder in OPEN EDITORS to see what's in it (open one file at a time in a split editor) or right-click and open all editors in a split editor. In the OPEN EDITORS pane there is room for a Save Tab Group icon, next to Editor Group Layout and Close All Editors. But it could also just be a keyboard shortcut. Ideally everything happens in the OPEN EDITORS pane. So I can do the following steps:
If I'm already in split editor, I suppose it would only work for tabs in that editor and not in all split editors. |
Analogue to |
@stevencl should we close this, it seems very generic and should maybe have more specific actionable issues? |
We need to improve the way that the users workspace is managed. The following (non-exhaustive) list of items describes what we should do:
The text was updated successfully, but these errors were encountered: