# Studio IDE keyboard shortcuts

dbt platform

The Studio IDE provides keyboard shortcuts, features, and development tips to help you work faster and be more productive.

Use this Studio IDE page to help you quickly reference some common operations.

| Shortcut description                                                                                                                                                                      | macOS                                                    | Windows                         |
| ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------------------------- | ------------------------------- |
| View the full list of editor shortcuts to help your development, such as adding a line comment, changing tab display size, building modified models, changing editor font size, and more. | Fn-F1                                                    | Fn-F1                           |
| Select a file to open.                                                                                                                                                                    | Command-O                                                | Control-O                       |
| Close the currently active editor tab.                                                                                                                                                    | Option-W                                                 | Alt-W                           |
| Preview code.                                                                                                                                                                             | Command-Enter                                            | Control-Enter                   |
| Compile code.                                                                                                                                                                             | Command-Shift-Enter                                      | Control-Shift-Enter             |
| Reveal a list of dbt functions in the editor.                                                                                                                                             | Enter two underscores `__`                               | Enter two underscores `__`      |
| Open the command palette to invoke dbt commands and actions.                                                                                                                              | Command-P / Command-Shift-P                              | Control-P / Control-Shift-P     |
| Multi-edit in the editor by selecting multiple lines.                                                                                                                                     | Option-Click / Shift-Option-Command / Shift-Option-Click | Alt-Click / Shift-Alt-Click     |
| Open the [**Invocation History Drawer**](./ide-user-interface.md#invocation-history) located at the bottom of the IDE.                     | Control-backtick (or Control + \`)                       | Control-backtick (or Ctrl + \`) |
| Add a block comment to the selected code. SQL files will use the Jinja syntax `({# #})` rather than the SQL one `(/* */)`.                                                                | Shift-Option-A                                           | Shift-Alt-A                     |

## Related docs

* [Quickstart guide](../../../guides.md)
* [About dbt](../about-platform/dbt-platform-features.md)
* [Develop in the Cloud](./develop-in-studio.md)

## Was this page helpful?

YesNo

[Privacy policy](https://www.getdbt.com/cloud/privacy-policy)[Create a GitHub issue](https://github.com/dbt-labs/docs.getdbt.com/issues)

This site is protected by reCAPTCHA and the Google [Privacy Policy](https://policies.google.com/privacy) and [Terms of Service](https://policies.google.com/terms) apply.
