Edit

Share via


Keyboard shortcuts

Keyboard shortcuts provide a quick way to navigate websites, and allow users to work more efficiently. Instead of using a pointing device, you use keys, or combinations of keys, to run tasks.

This article lists Windows keyboard shortcuts that you can use in a KQL queryset or the Explore your data window in a KQL database.

The letters that appear below represent letter keys on your keyboard. For example, to use G+N, hold down the G key and then press N. If the command is Ctrl+K Ctrl+X, keep pressing Ctrl, and simultaneously press K and then X.

Query editor

To do this action Press
Show command palette F1
Copy line(s) up Shift+Alt+UpArrow
Copy line(s) down Shift+Alt+DownArrow
Toggle line(s) comment Ctrl+/
Find Ctrl+F
Fold Ctrl+Shift+[
Fold all Ctrl+K Ctrl+0
Format selection Ctrl+K Ctrl+F
Format all Shift+Alt+F
Go to line Ctrl+G
Go to Next Problem (Error, Warning, Info) Alt+F8
Go to Previous Problem (Error, Warning, Info) Shift+F8
Insert line above Ctrl+Shift+Enter
Insert Line Below Ctrl+Enter
Move line down Alt+DownArrow
Move line up Alt+UpArrow
Add new tab Ctrl+J
Show Editor Context Menu Shift+F10
Switch to tab on the left Ctrl+Alt+[
Switch to tab on the right Ctrl+Alt+]
Unfold Ctrl+Shift+]
Unfold all Ctrl+K Ctrl+J
Run query Shift+Enter
Recall execution result F8
Reopen closed tab Ctrl+Shift+Alt+T

Results grid

To do this action Press
Insert data cell selections as filters into the query Ctrl+Shift+Space
[Column header] Toggle the sorting state Enter
[Column header] Open the menu for the focused header Shift+Enter