Microsoft/vscode
GitHub で見るAdd "resourceWebviewId" context key for webviews in `editor/title/context` contribution point
Open
#195,960 opened on 2023年10月19日
apifeature-requesthelp wanted
Repository metrics
- Stars
- (74,848 stars)
- PR merge metrics
- (平均マージ 11h 43m) (30d で 1,000 merged PRs)
説明
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.