Vscode: Support "perspectives" like approach in VSCode

Created on 14 Apr 2020  ·  4Comments  ·  Source: microsoft/vscode



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.

image

Benefits:

  • large projects can be easier managed on each component (eg: backend perspective, web app perspective, mobile app perspective)
  • scope to section in same project / perspective with "Create Perspective"
  • keeps the same window but switches the workspace (no alt-tab jumps)
  • keeps the same simple/clean layout (no need for multiple sidebars clutter)
feature-request layout

Most helpful comment


:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

All 4 comments


This feature request is now a candidate for our backlog. The community has 60 days to upvote the issue. If it receives 20 upvotes we will move it to our backlog. If not, we will close it. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!


:slightly_smiling_face: This feature request received a sufficient number of community upvotes and we moved it to our backlog. To learn more about how we handle feature requests, please see our documentation.

Happy Coding!

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 "when" conditions to make the toggling work. The maximization might be forever botched though. Not sure.

Was this page helpful?
0 / 5 - 0 ratings

Related issues

biij5698 picture biij5698  ·  3Comments

lukehoban picture lukehoban  ·  3Comments

omidgolparvar picture omidgolparvar  ·  3Comments

vsccarl picture vsccarl  ·  3Comments

trstringer picture trstringer  ·  3Comments