Skip to content
New issue

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

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

Already on GitHub? # to your account

Spread the parameters when calling "isEnabled" #12554

Merged

Conversation

tsmaeder
Copy link
Contributor

What it does

Correctly spread the command arguments when computing command enablement for Electron context menus.

Fixes #12548

Contributed on behalf of STMicroelectronics

How to test

Make sure the command enablement scenarios from the related issue work. The "general" context menu on Typescript editors als has some disabled items.

Review checklist

Reminder for reviewers

Fixes eclipse-theia#12548

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@tsmaeder tsmaeder requested a review from vince-fugnitto May 22, 2023 08:37
@tsmaeder tsmaeder mentioned this pull request May 22, 2023
11 tasks
@tsmaeder tsmaeder requested a review from martin-fleck-at May 23, 2023 07:29
Copy link
Contributor

@martin-fleck-at martin-fleck-at left a comment

Choose a reason for hiding this comment

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

Tested the case from the bug report and everything works well now, thank you!

@tsmaeder tsmaeder merged commit bc889fc into eclipse-theia:master May 23, 2023
tsmaeder added a commit to tsmaeder/theia that referenced this pull request May 23, 2023
Fixes eclipse-theia#12548

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@vince-fugnitto vince-fugnitto added this to the 1.38.0 milestone May 25, 2023
# for free to join this conversation on GitHub. Already have an account? # to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Breakpoint context menu items are disabled in the editor
3 participants