本页内容

使用外部文本编辑器

使用系统默认的文本编辑器打开文件进行编辑:

  1. 在以下视图中右键单击文件名,打开上下文菜单:
  2. 选择Open With >System Editor

在编辑器类型之间切换

要在编辑器类型之间切换,请右键单击文件名并选择Open With >Cycle to Next Editor

您可以为Cycle to Next Editor 指定键盘快捷键。更多信息,请参阅分配键盘快捷键

在 "工具 "菜单中添加编辑器

您可以在Tools >External >Text 中添加菜单项,用于在外部编辑器中打开当前查看的文件。当前的示例命令是 Windows 上的Edit with Notepad 以及 Linux 和 macOS 上的Edit with vi

Qt Creator 在操作系统的 PATH 环境变量中查找编辑器路径。

另请参阅 使用外部工具

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.