Microsoft/vscode

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

Open

#195.960 aberto em 19 de out. de 2023

Ver no GitHub
 (2 comments) (1 reaction) (1 assignee)TypeScript (10.221 forks)batch import
apifeature-requesthelp wanted

Métricas do repositório

Stars
 (74.848 stars)
Métricas de merge de PR
 (Mesclagem média 11h 43m) (1.000 fundiu PRs em 30d)

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.

Guia do colaborador