Repository navigation
feat(sql-workspace): run the script one statement at a time, Ctrl+H opens history (#1148) - #1195
Merged
Merged
Conversation
…pens history (#1148) F5 and Ctrl+Shift+Enter run the selection or the whole text as a script, one statement at a time. The first error stops the run and the status names the statement and its line; the caret moves to it. A script that succeeds reports its statement count and the rows affected. Ctrl+Enter keeps running the statement under the caret. The Run control has a menu for Run statement and Run script, each with its shortcut. Ctrl+H opens query history when the SQL workspace has focus. F11 is removed from the shortcut reference: full-screen editing is not planned.
…x the shortcut tests (#1148) A script of one statement goes to the driver with its ';' as before, so the diagram's table query and its history keep the text they had. The shortcut reference tests no longer look for the removed F11 entry.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Refs #1148
Changes
Statement 3 of 5 failed (line 3): …) and the caret moves to it.5 statements · 12 rows affected. The destructive check runs once, over the text that will run.▾menu with Run statement and Run script, each showing its shortcut.Not in this PR
dev.only the selected text runs when there is a selectionis not re-enabled.