-
Notifications
You must be signed in to change notification settings - Fork 82
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
Open edit launch dialog using correct mode #1300
Conversation
Test Results 291 files ±0 291 suites ±0 1h 1m 13s ⏱️ + 5m 3s For more details on these errors, see this check. Results for commit 5808183. ± Comparison against base commit 7c27f5c. ♻️ This comment has been updated with latest results. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks for this PR, and sorry for the delayed reply.
The goal is good, but I think the implementation should be enhanced.
Instead of having a global static field in LauncherUtils
that can be set by everyone and has to be remembered to be set, I think it would be better just pass through the launchMode
from a launch.
While checking if that's possible I already made the necessary changes and pushed them as separate commit to your (rebased branch). If you agree with them, please incorporate them into your commit.
What does this mean exactly? Do you want me to force push them? You could also just squash-merge this pull request to accept it and it would only make a single commit to the main repo. |
When a launch fails validation, the user is given a link to Edit Launch Configuration. Previously, this link always opened the Edit Run Configurations dialog in Run mode, even if the user initially attempted to Debug. This change ensures that the edit dialog is opening using the original mode. Co-authored-by: Hannes Wellmann <[email protected]>
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
please incorporate them into your commit
What does this mean exactly? Do you want me to force push them?
Yes. I wanted to give you the possibility to comment on the change in case you don't think it's fine.
But from your comment I think you are fine with it and I just squashed it. And added a missing version bump.
You could also just squash-merge this pull request to accept it and it would only make a single commit to the main repo.
Yes that would work, but github's squash-and-merge leads to a generic committer mail, which I don't think is good since it hides the person that actually submitted a change.
But this is now fine. Thanks for this contribution.
When a launch fails validation, the user is given a link to Edit Launch Configuration. Previously, this link always opened the Edit Run Configurations dialog in Run mode, even if the user initially attempted to Debug. This change ensures that the edit dialog is opening using the original mode.