Skip to content

Use editor widget as key for debug editor models #15516

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

Merged
merged 1 commit into from
Apr 28, 2025

Conversation

tsmaeder
Copy link
Contributor

What it does

Uses the editor widget instead of the URI as the key for debug editor models. This recognizes the fact that multiple editors can be open for the same URI (think secondary windows, for example).
Also use the new editor widget in the case of reopening a widget from a breakpoint.

Fixes #15510

How to test

Ensure you test with the "Editor: Enable Preview" preference both on and off. Open editors, place breakpoints and invoke "Edit Breakpoint" from the gutter context menu. Make sure the editor opens correctly.

Follow-ups

Breaking changes

  • This PR introduces breaking changes and requires careful review. If yes, the breaking changes section in the changelog has been updated.

Attribution

Contributed on behalf of STMicroelectronics

Review checklist

Reminder for reviewers

Sorry, something went wrong.

Fixes eclipse-theia#15510

Contributed on behalf of STMicroelectronics

Signed-off-by: Thomas Mäder <t.s.maeder@gmail.com>
@tsmaeder tsmaeder requested a review from sdirix April 25, 2025 15:42
@github-project-automation github-project-automation bot moved this to Waiting on reviewers in PR Backlog Apr 25, 2025
Copy link
Member

@sdirix sdirix left a comment

Choose a reason for hiding this comment

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

Works for me with and without the preference now! Thanks!

@github-project-automation github-project-automation bot moved this from Waiting on reviewers to Needs merge in PR Backlog Apr 25, 2025
@tsmaeder tsmaeder merged commit b4f4278 into eclipse-theia:master Apr 28, 2025
8 of 11 checks passed
@github-project-automation github-project-automation bot moved this from Needs merge to Done in PR Backlog Apr 28, 2025
@github-actions github-actions bot added this to the 1.61.0 milestone Apr 28, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

Successfully merging this pull request may close these issues.

Editing breakpoint conditions does not work
2 participants