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

Introducing SimpleEditorContext for simple widget editors #123130

Merged
merged 1 commit into from
May 6, 2021

Conversation

hediet
Copy link
Member

@hediet hediet commented May 6, 2021

SimpleEditorContext is used instead of EditorContext for simple widget editors.
This prevents contributions from extensions to extend the context menu for simple widget editors, such as the SCM commit message editor.

This PR fixes #89459

  • Discuss name: Is the name "SimpleEditorContext" ok? An alternative would be "EmbeddedEditorContext".

SimpleEditorContext is used instead of EditorContext for simple widget editors.
@hediet hediet self-assigned this May 6, 2021
@hediet hediet requested a review from jrieken May 6, 2021 13:36
Copy link
Member

@jrieken jrieken left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@jrieken
Copy link
Member

jrieken commented May 6, 2021

SimpleEditorContext

I am 👍 for "simple", "embedded" editor is already taken for editors inside editors, like peek references and friends

@hediet hediet merged commit 3a04ad7 into microsoft:main May 6, 2021
@alexdima alexdima added this to the May 2021 milestone May 7, 2021
@github-actions github-actions bot locked and limited conversation to collaborators Jun 20, 2021
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.

Editor inputs have contributed commands in the context menu
3 participants