microsoft / azuredatastudio

Azure Data Studio is a data management and development tool with connectivity to popular cloud and on-premises databases. Azure Data Studio supports Windows, macOS, and Linux, with immediate capability to connect to Azure SQL and SQL Server. Browse the extension library for more database support options including MySQL, PostgreSQL, and MongoDB.
https://learn.microsoft.com/sql/azure-data-studio
MIT License
7.57k stars 901 forks source link

Ability to split the query window like SSMS #23673

Open gregclerk opened 1 year ago

gregclerk commented 1 year ago

Is your feature request related to a problem? Please describe. No

Describe the solution or feature you'd like SSMS has an icon in the upper right of the vertical scrollbar to split the query window into two panes that scroll independently of each other. Can this be added to Azure Data Studio? Before: image After: image

Describe alternatives you've considered N/A

Additional context

kisantia commented 1 year ago

@gregclerk there are a few ways to split the query window in ADS: Right click on the editor tab and select which way to split it: image

Open the command palette and search for the split editor command: image

You can also add a keyboard shortcut for the command to split the editor down.

gregclerk commented 1 year ago

Thanks for the info. That, however, creates two sets of editor/results panes but both results panes get refreshed whenever a query from EITHER editor pane is run. Is there a way to have a split editor pane and only ONE results pane?

kisantia commented 1 year ago

@alanrenmsft do you know if this is currently supported?

alanrenmsft commented 1 year ago

@kisantia that is definitely not supported right now.