使用外部文本编辑器
要在系统的默认文本编辑器中打开文件进行编辑:
在编辑器类型之间切换
要在编辑器类型之间切换,请右键单击文件名,然后选择“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.