Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add buttons in the margin of query editor to run individual queries #768

Open
james-whiteside opened this issue Aug 9, 2023 · 0 comments

Comments

@james-whiteside
Copy link
Member

Problem to Solve

Currently, the only way to run a single query in a multi-query file open in the query editor is to highlight the query and select the Run Selection option from the right-click menu (or use the keyboard shortcut associated with that option). This is pretty clunky UX, and many users (myself included) do not initially realise running part of a file is an option as it is not signposted anywhere.

Proposed Solution

As Studio already parses multi-query files to issue each query via an individual API call, the work is already being done to identify separate queries. The first line of each query could be annotated with a button in the margin in order to run individually. This would be very similar to the JetBrains approach:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants