打开文档
您可以使用上下文菜单将File 菜单和文件系统视图中的某些功能应用到您在视图中选择的文件。
此外,您还可以
- 将文件的完整路径或仅文件名复制到剪贴板。
- 将文件固定在列表顶部,以便在选择Close All 时保持打开状态。
- 为打开列表中的下一个和上一个文件指定键盘快捷键 (OpenNextDocument 和OpenPreviousDocument)。
设置打开文件的首选项
要设置打开文件和处理已打开文件的首选项,请选择首选项>Environment >System :
- 在When files are externally modified 字段中,选择是否要提示您重新加载从外部修改的打开文件。例如,当你从版本控制系统中提取更改时。
- 选择Auto-save modified files 复选框,可按Interval 字段中指定的时间间隔自动保存已更改的文件。
- 选择Auto-save files after refactoring 复选框,可自动保存重构后的文件。
- 选择Auto-suspend unmodified files 复选框,可在长时间不活动后自动释放打开文件的资源。这些文件仍列在Open Documents 视图中。在Files to keep open 字段中设置内存中应保留的最小文件数。
- 选择Warn before opening text files greater than 复选框,以接收有关打开大文本文件的警告。
- 在Maximum number of entries in "Recent Files" 字段中,设置File >Recent Files 中列出的最近打开的文件数。
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.