vscode-sqltools icon indicating copy to clipboard operation
vscode-sqltools copied to clipboard

Result Location Direction Setting

Open Robonics opened this issue 2 years ago • 5 comments

Is your feature request related to a problem? Please describe. I often find myself clicking "split down" before running a query, because it means I don't have to scroll horizontally near as much when writing code and the like, that being said, if I forget to split it downwards, it can be a pain.

Describe the solution you'd like A setting along the lines of "New Group Direction" or "Group Split Direction", where I can pick from up, down, left, and right. If SQL tools would create a tab group to display the resulting query, it should split the active group in this direction.

Describe alternatives you've considered At is possible to create a key chord for splitting the group in different directions, then go back to the SQL file and run it, however, I think that the ability to do it from the settings would be a nice little productivity boost.

Robonics avatar Jun 14 '23 20:06 Robonics

can this extension reuse the value of "workbench.editor.splitInGroupLayout": "vertical" ?

matter-it-does avatar Jun 19 '23 02:06 matter-it-does

never mind! view menu > layout > two rows fixed this. New result tabs come in rows instead of columns.

matter-it-does avatar Jun 19 '23 02:06 matter-it-does

I still believe a separate option to override it would be useful. There are certain extensions that auto-open in columns and I prefer it that way. It could just default to the "use vscode default" setting or something.

Robonics avatar Jun 19 '23 12:06 Robonics

I think it would be beneficial to support an above / below layout as a setting. It's normally more important for me to see all the columns in a table, than to see all the rows (which is often impossible anyway)

Therefore my preference is for wide over long.

archiewood avatar Aug 10 '23 14:08 archiewood

This would be addressed by #1047

archiewood avatar Oct 31 '23 19:10 archiewood