Microsoft/vscode

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

Open

#195.960 aperta il 19 ott 2023

Vedi su GitHub
 (2 commenti) (1 reazione) (1 assegnatario)TypeScript (10.221 fork)batch import
apifeature-requesthelp wanted

Metriche repository

Star
 (74.848 star)
Metriche merge PR
 (Merge medio 11h 43m) (1000 PR mergiate in 30 g)

Descrizione

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.

Guida contributor