使用外部文本编辑器

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

  1. 在以下视图中右键单击文件名,打开上下文菜单:
  2. 选择Open With >System 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.