使用 Zen 模式
“禅模式”扩展提供多种模式,可隐藏用户界面元素,让您专注于代码编辑。
在“Extensions ”模式下启用Zen Mode 扩展程序。有关扩展程序的更多信息,请参阅“启用扩展程序”。
切换无干扰模式
无干扰模式会关闭侧边栏和其他视图。
要切换无干扰模式:
- 选择“
”。 - 转到“Tools ” > “Zen Mode ”,然后选择“Toggle Distraction Free Mode ”。
- 按Shift+Esc。
切换禅模式
禅模式会关闭侧边栏和其他视图,将Qt Creator 切换为全屏模式,并隐藏主菜单栏。
要切换“禅模式”:
- 选择“
”。 - 转到“Tools ” > “Zen Mode ”,然后选择“Toggle Zen Mode ”。
- 按下Alt+Shift+Z。
设置“禅模式”首选项
要设置“禅模式”扩展的偏好设置,请前往“Preferences ” > “Zen Mode ”。

您可以设置编辑器内容区域的宽度,并配置模式激活时的模式选择器外观。
另请参阅 《操作指南:调整用户界面》。
Copyright © The Qt Company Ltd. and other contributors. Documentation contributions included herein are the copyrights of their respective owners. The documentation provided herein is licensed under the terms of the GNU Free Documentation License version 1.3 as published by the Free Software Foundation. Qt and respective logos are trademarks of The Qt Company Ltd in Finland and/or other countries worldwide. All other trademarks are property of their respective owners.