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

Open results window in same grouping as focused window #28

Closed
2 of 4 tasks
tripl3dogdare opened this issue Aug 12, 2017 · 4 comments
Closed
2 of 4 tasks

Open results window in same grouping as focused window #28

tripl3dogdare opened this issue Aug 12, 2017 · 4 comments
Labels
feature request New issue opened using "Feature request" template

Comments

@tripl3dogdare
Copy link

tripl3dogdare commented Aug 12, 2017

Issue Type

  • Feature Request
  • Bugfix/Errors
  • Questions
  • Other

(Not really sure which to classify this as, I'd assume feature request but it may be a bug)

Description

Currently, when you execute a SQL query, the results window automatically opens in the first tab group (top/left). I believe it would make more sense (if possible) to have it open in the same tab group as the focused window, in order to avoid having to constantly move the results window around.

Example: given a setup like this (code on the left, utility queries on the right), I execute the query in the right-hand window.

I would prefer to be able to have the results window open on the right, like this (actual data blurred out for privacy reasons):

image

However, what actually happens is that the results window opens on the left, like this:

I believe it would make for a more streamlined and intuitive experience for the results tab to automatically open in the same tab group as the query that was executed, rather than having to move it every time to produce the desired layout. This could theoretically be made into a config option as well, to allow for either behavior depending on user preference.

@sluongng
Copy link

I would like to further adding that there should be options for user to customize the window location. And if there is already a result window open, may be reuse it instead of opening a new one(with scrolling through multiple results).

@mtxr mtxr added feature request New issue opened using "Feature request" template and removed feature request New issue opened using "Feature request" template labels Nov 15, 2017
@mtxr mtxr closed this as completed in 0f1ea08 Dec 14, 2017
@tmastny
Copy link

tmastny commented Sep 5, 2018

I actually prefer it the other way: having the results open in a new column, so I can see the query and results side by side.

I second @sluongng's request: can we customize the window location so it can either open in the current column, or move to the next one?

@jdobruchowski
Copy link

Yes please , as per @tmastny , can we have a config for it ? because i would prefer having it in original behaviour . I'm coming from sql developer and there you have static query output window.

@mtxr
Copy link
Owner

mtxr commented Mar 27, 2019

Yeah, it was added on latest releases.

Please, take a look at https://mtxr.gitbook.io/vscode-sqltools/changelog#v-0-17-7

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature request New issue opened using "Feature request" template
Projects
None yet
Development

No branches or pull requests

5 participants