Skip to content

refactor(code-actions): share destruct action runner - #1900

Merged
rgrinberg merged 1 commit into
masterfrom
push-qxpzlxyunotr
Jul 26, 2026
Merged

refactor(code-actions): share destruct action runner#1900
rgrinberg merged 1 commit into
masterfrom
push-qxpzlxyunotr

Conversation

@rgrinberg

Copy link
Copy Markdown
Member

The regular and line-oriented destruct actions dispatch the same Merlin case-analysis request, handle the same expected errors, and construct identical edits and follow-up commands.

Share that execution path through Action_destruct.run, with a postprocessing hook for the line-oriented action's location and formatting adjustments. This is a behavior-preserving prerequisite for #1829.

Signed-off-by: Rudi Grinberg <me@rgrinberg.com>
@rgrinberg
rgrinberg merged commit 909fe35 into master Jul 26, 2026
6 checks passed
@rgrinberg
rgrinberg deleted the push-qxpzlxyunotr branch July 31, 2026 22:00
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant