mtxr / SublimeText-SQLTools

SQLTools for Sublime Text 3
https://code.mteixeira.dev/SublimeText-SQLTools/
GNU General Public License v3.0
177 stars 40 forks source link

Allow defining a seperate shortcut to choose on the fly show_result_on_window true/false #203

Open optio opened 6 years ago

optio commented 6 years ago

Issue Type

Feature Request

Description

Allow to choose on the fly whether to execute query with show_result_on_window=true or show_result_on_window=false.

Proposal 1

A new configurable shortcut that executes the query with the opposite show_result_on_window as configured

{ "keys": ["ctrl+e", "ctrl+e"], "command": "st_execute" } Uses show_result_on_window as configured

{ "keys": ["ctrl+e", "ctrl+z"], "command": "st_execute_inverse_show_result_on_window" } Executes the query the opposite of how show_result_on_window is configured.

Proposal 2

A new shortcut that triggers a dialog in which user needs to select how to execute the query.

{ "keys": ["ctrl+e", "ctrl+z"], "command": "st_execute_prompt_show_result_on_window" } Triggers the prompt to choose the output for the current query