Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Scope custom editor and webview context keys to editor groups and global context #213398

Merged
merged 1 commit into from
May 24, 2024

Conversation

benibenj
Copy link
Contributor

@benibenj benibenj commented May 24, 2024

This PR makes sure the webview and custom editor context keys are also set for each editor group by using the registerContextKeyProvider which was recently introduced. This makes sure editor actions are rendered in the correct editor group when using workbench.editor.alwaysShowEditorActions: true

// cc @mjbvz

Ref: #209962

@benibenj benibenj self-assigned this May 24, 2024
@benibenj benibenj enabled auto-merge (squash) May 24, 2024 15:19
@vscodenpa vscodenpa added this to the May 2024 milestone May 24, 2024
@benibenj benibenj merged commit 1e1afd0 into main May 24, 2024
7 checks passed
@benibenj benibenj deleted the benibenj/managing-donkey branch May 24, 2024 15:47
andremmsilva pushed a commit to PIC1G55/vscodeG55 that referenced this pull request May 26, 2024
…bal context (microsoft#213398)

Properly scope custom editor and webview context keys
@microsoft microsoft locked and limited conversation to collaborators Jul 8, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants