Skip to content

Secondary Side Bar view contributions fallback to Explorer unexpectedly #249910

Closed

Description

@samii32

Problem

I tried contributing a Webview to the secondarySideBar using the newly supported "viewsContainers.secondarySideBar" field as described in PR #247899.

However, even with correct activationEvents, ID matching, and version 1.97+, the view often falls back to the explorer container with this warning:

"View container 'ChatPanel' does not exist and all views registered to it will be added to 'Explorer'."

Expectation

Since secondarySideBar is officially supported now, I expect the Webview to be consistently displayed in the right sidebar without fallback.

Environment

  • VSCode: 1.97.0
  • Extension: test
  • Package.json: using "viewsContainers.secondarySideBar" and correct view IDs

Request

Please ensure views registered to secondarySideBar are properly initialized without fallback, or document the current limitation if intended.

Thank you!

Activity

  1. added
    stale
    on Jun 3, 2025
  2. lramos15 commented on Jun 5, 2025

    @lramos15
    Member

    That PR you linked isn't even merged

  3. removed
    stale
    on Jun 5, 2025
  4. mjbvz commented on Jul 9, 2025

    @mjbvz
    Contributor

    Closing this as a duplicate of #247899. Please try again once that PR is merged

  5. locked and limited conversation to collaborators on Aug 23, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

No labels
No labels

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions