如何使用扩展名中的Visual Studio代码中创建一个新的面板部分
如何创建像 Gitlens 那样的面板部分(请参见下面的屏幕截图)?我查看了 此处 提供的文档和 Github 示例,但找不到关于如何创建这个的任何内容。
我想在终端旁边有一个按钮,当我按下它时可以显示一个网络视图。
How can I create a panel section like the one that Gitlens has (see the screenshot below)? I've looked over the documentation and the Github examples presented here and I could not find anything on how to create this.
I want to have a button there next to TERMINAL and when I press on it to present a webview.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
我已经通过在
贡献
对象中创建一个ViewContainer来做到这一点。然后,我创建了使用ViewContainer的视图。
I have managed to do this by creating a viewContainer in the
contributes
object.and then I create a view that uses the viewContainer.