将 TreeView 的位置从 ActivityBar 更改为面板

发布于 2025-01-14 05:37:15 字数 121 浏览 3 评论 0原文

我完全能够将 TreeView 从侧边栏移动到底部面板(问题、输出、终端...)。

但是,我不确定如何让 TreeView 默认出现在底部面板中。该文档没有说明有关底部面板的任何信息。

有什么想法吗?

I'm fully able to move my TreeView from the SideBar to the bottom panel (Problems, output, terminal...).

However, I'm uncertain how I would go about making my TreeView appear in the bottom panel by default. The documentation doesn't state anything about the bottom panel.

Any ideas?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(1

清风挽心 2025-01-21 05:37:15

我将 panel 视为 viewContainer 的一个选项,如下所示:

"contributes": {
    "viewsContainers": {
        "panel" : [           // instead of activityBar here
            {
                "id": "your virewContainer id",
                "title": "your title",
                "icon": "$(....)"
            }
                
        ]
    }
}

通过使用智能感知找到。

I see the panel as an option for the viewContainer as in:

"contributes": {
    "viewsContainers": {
        "panel" : [           // instead of activityBar here
            {
                "id": "your virewContainer id",
                "title": "your title",
                "icon": "$(....)"
            }
                
        ]
    }
}

Found by using intellisense.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文