visual-studio-code - 创建了我自己的viewsContainer - 我可以包含来自其他viewsContainers 的视图吗?
问题描述
我们正在探索在新扩展中为 VS Code 创建自己的 viewContainer,并希望重用来自其他容器的视图,例如资源树、大纲和其他扩展中的其他视图。这可能吗?
例如,我无法找到大纲视图的视图 ID,但希望我能做类似的事情......
"contributes": {
"viewsContainers": {
"activitybar": [
{
"id": "custom-activity",
"title": "My Uber-activity",
"icon": "resources/custom-activity.svg"
}
]
},
"views": {
"custom-activity": [
{
"id": "vscode-resources",
"name": "Resources"
},
{
"id": "vscode-outline",
"name": "Outline"
},
{
"id": "my-fancy-view",
"name": "New View"
}
]
}
}
这可能吗?是否有我们可以引用和重用的 VS Code 环境中已建立视图的已发布 ID 列表?
解决方案
推荐阅读
- amazon-web-services - 出现 InvalidSignatureException 错误,而我在机器上的时间是正确的
- c# - 如何从线程(非主线程)使用 this.Dispose()
- sql-server - SSIS 包 - 建立与 SQL Server 的连接时发生与网络相关或特定于实例的错误
- django - 如何在 Django 中链接过滤器/过滤两个对象列表?
- azure - Azure Web Functions Consuming SOAP 服务 - 如何使 async / WinHttpHandler 错误
- sql - 如何处理 postgres 全文搜索中的 Typo 错误
- python - 在 django python 中添加新卡之前,我如何检查 Stripe 客户是否已经拥有特定卡
- kotlin - Kotlin 多平台:kotlinx.coroutines.test 库在 commonTest 模块中不可见
- azure - Azure 数据工厂能否将数据发布到 Rest API
- ios - 如何使用 XHR (AJAX) 在 iOS12 上解决 ClientAbortException?