Microsoft/vscode

Add "resourceWebviewId" context key for webviews in `editor/title/context` contribution point

Open

#195,960 创建于 2023年10月19日

在 GitHub 查看
 (2 评论) (1 反应) (1 负责人)TypeScript (10,221 fork)batch import
apifeature-requesthelp wanted

仓库指标

Star
 (74,848 star)
PR 合并指标
 (平均合并 11小时 43分钟) (30 天内合并 1,000 个 PR)

描述

Currently there isn't a context key that allows extensions to properly scope editor/title/context contributions to their specific webview. Today I am using activeWebviewPanelId, but that only works if you right-click on the active tab. If you right-click on an inactive tab, then activeWebviewPanelId will still be the "active" tab and show the wrong items.

贡献者指南