PyCharm
 
Get PyCharm

IDE viewing modes

Last modified: 08 October 2024

PyCharm 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.

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  CtrlAlt0S. This means that if your code will be centered when formatted properly, 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  CtrlAlt0S.