mtxr / vscode-sqltools

Database management for VSCode
https://vscode-sqltools.mteixeira.dev?utm_source=github&utm_medium=homepage-link
MIT License
1.44k stars 291 forks source link

Result Location Direction Setting #1163

Open Robonics opened 1 year ago

Robonics commented 1 year ago

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.

matter-it-does commented 1 year ago

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

matter-it-does commented 1 year ago

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

Robonics commented 1 year ago

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.

archiewood commented 11 months ago

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 commented 8 months ago

This would be addressed by #1047