-
Notifications
You must be signed in to change notification settings - Fork 29.9k
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
Support "perspectives" like approach in VSCode #95182
Comments
tbh, for the time being I just want a perspective so that when I'm using the terminal within VS Code I can switch to something without a directory tree, editor, etc. and just focus on the terminal. 🤷♂️ |
@MayTheSForceBeWithYou , that one's at least maybe doable. Maybe something like: {
"key": "alt+j",
"command": [
"workbench.action.terminal.focus",
"workbench.action.closeSidebar",
"workbench.action.toggleMaximizedPanel",
]
} You'll need some |
this is the only thing that keeps me from switching from emacs |
I wonder if this will ever be implemented .. |
This is good news. I look forward to this - especially the layout of views, etc. I will request additional features i.e. allow switching to a suitable layout based on events. For example, I want to have to debugging focused layout of views. At least the user should get a chance to opt into this aspect. |
:( sad ... |
a debug and edit perspectives would be much appreciated |
I would like very much of something like that for when I unplug a monitor from my notebook, so I could use a layout that make sense in the smaller screen. For example, in my case my notebook has a 14" screen and i have a 29" monitor, quite different. |
As @grloch mentioned above, I used Eclipse Perspectives for similar, I had two Java Perspectives with different view layouts to fit when working in wide screen and on laptop screen. In vscode I have to change the view sizes and editor groups when I switch screens. |
What is a Perspective?
https://www.tutorialspoint.com/eclipse/eclipse_perspectives.htm
https://www.eclipse.org/articles/using-perspectives/PerspectiveArticle.html
Considering large projects with different components (backend, frontend projects with mix of languages) a feature similar to Eclipse IDE "perspectives" would be very useful to easy switch between the projects or scope to a section of the current project. To switch between the perspectives, a ui similar to open recent (Ctrl-R) project could be used and triggered with a shortcut (Ctrl-9). The icon in each entry can show the project's main technology (angular, c#, etc).
In the File Explorer (VSCode's Tab) a new context menu option "Create Perspective" is used to add perspectives based on a folder.
In the Sidebar a new item can be added named "Perspectives" that can list the existing perspectives with a highlight on the active one. A color can be used in the ui sidebar item or a status bar indicator similar to "Open Remote Window" with the name of the current perspective, at click will open Ctrl-9 ui mentioned above.
(Each perspective can have a picked color like in peakoc.)
If accepted this feature can extend the functions that are now present in the "remote connect" feature and maybe not generating another item in the status bar.
Benefits:
The text was updated successfully, but these errors were encountered: