Skip to content

Add 'Open in Query Editor' to plan viewer statements grid#169

Merged
erikdarlingdata merged 1 commit into
devfrom
feature/open-in-editor
Apr 6, 2026
Merged

Add 'Open in Query Editor' to plan viewer statements grid#169
erikdarlingdata merged 1 commit into
devfrom
feature/open-in-editor

Conversation

@erikdarlingdata
Copy link
Copy Markdown
Owner

Summary

  • Adds "Open in Query Editor" to the statements grid right-click context menu
  • From file mode (MainWindow): creates a new query session tab with the statement text
  • From editor mode (QuerySessionControl): loads text into the existing editor and switches to it
  • Works for all plan sources: file open, query capture, Query Store

Closes #165.

Test plan

  • File mode: open .sqlplan, right-click statement → Open in Query Editor → new query tab with text
  • Editor mode: capture plan, right-click statement → switches to editor tab with text
  • Query Store plan: right-click statement → loads text into editor

🤖 Generated with Claude Code

Right-click a statement in the plan viewer grid to open its query text
in the editor. From file mode, creates a new query tab. From editor
mode, loads the text into the existing editor and switches to it.

Closes #165.

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@erikdarlingdata erikdarlingdata merged commit 8afa92c into dev Apr 6, 2026
2 checks passed
@erikdarlingdata erikdarlingdata deleted the feature/open-in-editor branch April 9, 2026 00:37
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant