Focus Mode
Go Up to Editor Options
Tools > Options > Editor > Focus Mode
Focus Mode is for distraction-free coding. It allows you to view only the code editor while hiding the rest of the user interface.
To activate the Focus Mode view, right-click the tab and select Focus mode or use the shortcut Ctrl+Alt+Z
when the editor is focused. When the rest of the UI is hidden, the editor shows the filename at the top, has buttons to close, and splits left and right. When using the Focus Mode view, consider the following:
- Any number of tabs can be in a Focus Mode editor and multiple editors can be visible as columns side by side.
- The number of editors side by side is limited by the amount of horizontal screen space available. The IDE does not allow adding a new column if the resized editors are too small to code in.
- Dragging the splitter to the left or right resizes the default centered editor and it remains centered.
- The editor displays buttons at the top to split the current editor left or right and to open a unit using the Use Unit dialog (you can also use the shortcut
Ctrl+F12
). These options allow you to have multiple files in Focus Mode. - You can draw the editor scrollbars using the editor colors.
When the Enable focus mode option is checked, you can choose which of the following features to view with the code:
- Bookmarks
- Right margin
- Navigation toolbar
- Code folding
- Debug Info (Breakpoints, Compiled lines)
- Changed areas
- No dots on line numbers
By default, Focus Mode displays only the current tab, but checking the Clone all tabs in Focus mode. option allows you to load all active views.