Skip to content

Adds a setting that lets you run the statement under the cursor direc…#487

Open
GabrielMalava wants to merge 2 commits into
TabularisDB:mainfrom
GabrielMalava:feat/run-statement-under-cursor-option
Open

Adds a setting that lets you run the statement under the cursor direc…#487
GabrielMalava wants to merge 2 commits into
TabularisDB:mainfrom
GabrielMalava:feat/run-statement-under-cursor-option

Conversation

@GabrielMalava

@GabrielMalava GabrielMalava commented Jul 15, 2026

Copy link
Copy Markdown
Contributor

Adds a setting that lets you run the statement under the cursor directly,
instead of showing the "Select Query to Execute" modal when a script has
multiple ;-separated statements.

When enabled, pressing Run / Ctrl+Enter / Ctrl+Cmd+F5 with no text
selected executes only the statement the caret is in — no picker. Selecting
text still runs the selected range, and the setting is off by default, so
existing behavior is unchanged.

Running one query out of many is a very common flow. The picker modal adds an
extra step every time. This makes "execute current statement" a one-keystroke
action, like most SQL editors (DataGrip/DBeaver).

Scope / non-goals

  • The context-menu "Execute Selection" action and the Run dropdown are
    unchanged.
  • Only affects the no-selection + multiple-statements case.

GabrielMalava and others added 2 commits July 15, 2026 11:36
…tly,instead of showing the Select Query to Execute modal when a script ha multiple statements.
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