Skip to content

Allow extensions to add views to the secondary side bar #151681

Description

@eamodio

Now that the secondary sidebar has fully landed, it would be great if extensions could add views directly to it.

I am hoping to use the secondary sidebar for a new "Commit Details" view in GitLens, that could possibly track the current line (like the line history) and also for showing commit details when we add the ability for having a full commit graph in an editor tab,

/cc SteVen Batten (@sbatten)

Activity

  1. vscodenpa commented on Jun 10, 2022

    @vscodenpa

    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!

  2. worksofliam commented on Jun 10, 2022

    @worksofliam
    Contributor

    Agreed. It'd be neat if we could define a panel or a view with a new optional prop like location with possible values like:

    • primary (how it currently works, and the default)
    • secondary which could be the new secondary sidebar.
  3. vscodenpa commented on Jun 11, 2022

    @vscodenpa

    🙂 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!

  4. added 2 commits that reference this issue on Jul 28, 2022
    e5c32c2
    18cfe78
  5. 26 remaining items

  6. eamodio commented on May 1, 2025

    @eamodio
    ContributorAuthor

    My original is here: #156526

  7. tustzdm commented on Jun 17, 2025

    @tustzdm

    I found the command "workbench.action.moveView", but can't use it move view to secondarySideBar directly.
    await vscode.commands.executeCommand("workbench.action.moveView", { viewId: "data-script-list", destinationId: "workbench.view.secondarySideBar", });

  8. yafet-dev commented on Jul 8, 2025

    @yafet-dev

    Can we have a webview in a secondary sidebar please ?

  9. miirK1 commented on Jul 21, 2025

    @miirK1

    Any workaround for it?

  10. iwangbowen commented on Aug 13, 2025

    @iwangbowen

    Yes

  11. abhijit-chikane commented on Aug 13, 2025

    @abhijit-chikane
    Contributor

    Would be much better if u could consider this

  12. added
    unreleasedPatch has not yet been released in VS Code Insiders
    insiders-releasedPatch has been released in VS Code Insiders
    and removed
    unreleasedPatch has not yet been released in VS Code Insiders
    on Aug 25, 2025
  13. locked and limited conversation to collaborators on Oct 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

feature-requestRequest for new features or functionalityinsiders-releasedPatch has been released in VS Code InsiderslayoutGeneral VS Code workbench layout issueson-testplanworkbench-auxsidebarIssues for secondary sidebar

Type

No type

Projects

No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions