Toggle Query Results in Azure Data Studio without using hotkey

747 views Asked by At

I'm aware of the Win+Shift+R hotkey that performs the Toggle Query Results action, to hide or show the results pane in the Query Editor of Azure Data Studio. Is there any way of doing the same thing via the GUI?

The reason I ask is that recently Win+Shift+R has been hijacked by an update to the Windows 11 Snipping Tool and there doesn't appear to be any way of disabling either the Snipping Tool or its key binding (I've spent the last couple of hours trying various suggested fixes). While I could simply change the keybinding in Azure Data Studio it occurred to me that it should be possible to toggle the results pane via the GUI. However, I haven't found any commands in any of the menus or in the Query Editor itself. Am I missing something or is it not possible to do via the GUI?

1

There are 1 answers

0
Aswin On BEST ANSWER

There is no built-in way to toggle query results in Azure Data Studio via the GUI. The only way to do this is by using the Win+Shift+R hotkey or by changing the keybinding in Azure Data Studio.

Below are the steps to create a custom keyboard shortcut in Azure Data Studio to toggle query results.

  • Open Azure Data Studio and go to the File menu. Select Preferences and then Keyboard Shortcuts.

  • In the search bar, type "toggle query results" and select the command. Click on the Change Keybinding button.

  • Enter the desired keyboard shortcut (e.g., Ctrl+R) and click Enter key.