# IDE viewing modes

IntelliJ IDEA lets you switch between several viewing modes for different usage styles and scenarios. For example, when you need to focus on the code or present to an audience.

Full Screen mode
: IntelliJ IDEA expands the main window to occupy the entire screen. On macOS, all operating system controls are hidden, but you can access the main menu if you hover over the top of the screen.

Distraction-free mode
: The editor occupies the entire main window with the source code centered. All other elements of the UI are hidden (tool windows, toolbars, and editor tabs) to help you focus on the source code of the current file. You can still use shortcuts to open tool windows, navigate, and perform other actions.

Presentation mode
: IntelliJ IDEA expands the editor to occupy the entire screen and increases the font size to make it easier for your audience to see what you are doing. Other elements of the UI are hidden, but you can bring them up with corresponding shortcuts or using the main menu if you hover over the top of the screen.

Zen mode
: IntelliJ IDEA combines the Full Screen and Distraction-free modes, so the main window expands leaving only the editor with the source code for you to focus on programming.

Compact mode
: If you work on a smaller screen, you can enable the compact mode. In this mode, the IDE has the reduced heights for toolbars and tool window headers, scaled-down spacings and paddings, and smaller icons and buttons.

By default, the editor text in   the Distraction-free and Zen  viewing modes is centered vertically and the text column width corresponds to the Hard wrap at option on  the Editor | Code Style settings page `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) . This means that if your code will be centered when [formatted properly](null), but if there are long unwrapped lines, the text might go beyond the viewport while there is a large margin on the left. In such cases, you may want to decrease the left margin using   the  Left margin in distraction free mode  option on  the Advanced Settings settings page `Ctrl+Alt+S` (Windows), `⌘ Comma` (macOS), `⌘ Comma` (IntelliJ IDEA Classic (macOS)), `⌘ Comma` (macOS System Shortcuts), `Ctrl+Alt+S` (XWin), `Ctrl+Alt+S` (GNOME), `Ctrl+Alt+S` (KDE), `Ctrl+Alt+S` (Emacs), `Ctrl+Alt+S` (Sublime Text), `⌘ Comma` (Sublime Text (macOS)), `Ctrl+Alt+S` (NetBeans), `Ctrl+Alt+S` (Visual Studio), `⌘ Comma` (Visual Studio (macOS)), `Ctrl+Alt+S` (Eclipse), `⌘ Comma` (Eclipse (macOS)) .

Procedure: Toggle viewing modes on and off

* In the main menu, go to `View | Appearance` and select Enter <viewing mode> or Exit <viewing mode>.

* Use the quick switcher:

1.

In the main menu, go to `View | Quick Switch Scheme` (or press `Ctrl+`` (Windows), `⌃ `` (macOS), `⌃ `` (IntelliJ IDEA Classic (macOS)), `⌃ `` (macOS System Shortcuts), `Ctrl+`` (XWin), `Ctrl+`` (GNOME), `Ctrl+`` (KDE), `Ctrl+`` (Emacs), `Ctrl+`` (Sublime Text), `⌃ `` (Sublime Text (macOS)), `Ctrl+`` (NetBeans), `Ctrl+`` (Visual Studio), `Ctrl+`` (Visual Studio (macOS)), `Ctrl+`` (Eclipse), `⌃ `` (Eclipse (macOS))).

2.

In the Switch popup, select View Mode and then select Enter <viewing mode> or Exit <viewing mode>.

![Quick switcher for viewing modes](https://resources.jetbrains.com.cn/help/img/idea/2026.2/ide-viewing-modes-quick-switcher.png)

* Use [Find Action](searching-everywhere.html) : press `Ctrl+Shift+A` (Windows), `⌘ ⇧ A` (macOS), `⌘ ⇧ A` (IntelliJ IDEA Classic (macOS)), `⌘ ⇧ P` (macOS System Shortcuts), `Ctrl+Shift+A` (XWin), `Ctrl+Shift+A` (GNOME), `Ctrl+Shift+A` (KDE), `Escape, X` (Emacs), `Ctrl+Shift+P` (Sublime Text), `⌘ ⇧ P` (Sublime Text (macOS)), `Ctrl+I` (NetBeans), `Ctrl+Shift+A` (Visual Studio), `⌘ ⇧ A` (Visual Studio (macOS)), `Ctrl+Shift+A` (Eclipse), `⌘ 3` (Eclipse (macOS)), and start typing the name of the viewing mode. Then select Enter <viewing mode> or Exit <viewing mode> from the list and press `Enter` (Windows), `⏎` (macOS), `⏎` (IntelliJ IDEA Classic (macOS)), `⏎` (macOS System Shortcuts), `Enter` (XWin), `Enter` (GNOME), `Enter` (KDE), `Enter` (Emacs), `Enter` (Sublime Text), `⏎` (Sublime Text (macOS)), `Enter` (NetBeans), `Enter` (Visual Studio), `⏎` (Visual Studio (macOS)), `Enter` (Eclipse), `⏎` (Eclipse (macOS)).

* Map actions that toggle viewing modes on and off to your [preferred key combinations](configuring-keyboard-and-mouse-shortcuts.html).

## See also

### Related

[Compact mode](new-ui.html#compact-mode) [Presentation Assistant](presentation-assistant.html)

