Here are some helpful hints/tricks and general guidance:
If your Databricks notebook editor font size changed accidentally, you can revert it using either keyboard shortcuts or directly updating the setting in your user preferences:
- Go to your Databricks workspace menu. Click your username at the upper-right, then open Settings.
- In the Settings sidebar, select Developer.
- Under Editor font size, select your desired font size (commonly the default—see next section).
Alternatively, you can adjust the font size within the notebook/editor using these shortcuts:
-
To increase font size:
- Mac: Option + Plus (+)
- Windows/Linux: Alt + Plus (+)
-
To decrease font size:
- Mac: Option + Minus (-)
- Windows/Linux: Alt + Minus (-)
Changing the font size through these shortcuts updates the Editor font size setting in your Developer Settings. If you want to simply bring it back to the default size, reset it to the documented default (see below).
Keyboard Shortcut Note: Ctrl+I is not a documented font size shortcut in Databricks notebooks. It's likely that your use of Ctrl+I either triggered a browser feature (which usually relates to italics in some editors, but not font size) or could have interacted with accessibility/browser settings instead. The only supported key combinations for font size in Databricks are the ones listed above.
Default Editor Font Size in Databricks
Based on documentation and code references, the default editor font size in Databricks is 14px. However, if your settings show 13px, it could have been changed previously, or your Databricks environment is using a custom configuration. To ensure you're at the default, set the Editor font size in Developer Settings to 14px.
Summary Table
Action |
Shortcut (Mac) |
Shortcut (Win/Linux) |
Manual Reset |
Increase font size |
Option + + |
Alt + + |
Settings > Developer > Editor font size = 14px |
Decrease font size |
Option + - |
Alt + - |
" |
Reset to default |
— |
— |
Set Editor font size to 14px |
Limitations and Confirmation
- There is no documented shortcut in Databricks notebooks that maps Ctrl+I to a font size change.
- The only official keyboard font size controls use Option/Alt + Plus/Minus.
- The best way to reset your experience is to change the setting back to 14px either through the Developer Settings page or by using the increase/decrease shortcuts to arrive at the desired size.
If you have customized your font size or have accessibility/browser-level zoom settings, check that those are as expected as well.
For further help, you can always use the "Reset to default" or "Editor font size" options in the Developer section of your Databricks workspace settings.