Microsoft/vscode

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

Open

#195 960 ouverte le 19 oct. 2023

Voir sur GitHub
 (2 commentaires) (1 réaction) (1 assigné)TypeScript (10 221 forks)batch import
apifeature-requesthelp wanted

Métriques du dépôt

Stars
 (74 848 stars)
Métriques de merge PR
 (Merge moyen 11h 43m) (1 000 PRs mergées en 30 j)

Description

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.

Guide contributeur