编辑器
当您打开文件时,Qt Creator 会根据文件类型选择合适的编辑器。
使用 Artistic Style、ClangFormat 或 Uncrustify 对源代码进行格式化。 | |
在文本编辑器中设置缩进、输入、保存、文件编码以及鼠标和键盘行为的偏好设置。 | |
为 C++ 文件设置全局代码样式。 | |
C++ 代码快速修复摘要。 | |
提供 C++ 代码编辑服务。 | |
为 clangd 代码模型设置全局首选项。 | |
设置 C++ 代码模型的全局首选项。 | |
设置文本编辑器中代码补全和插入匹配字符的偏好设置。 | |
设置文本编辑器中边距、文本换行以及代码和文本显示方式的偏好设置。 | |
设置在文本编辑器中生成 Doxygen 风格文档注释的偏好设置。 | |
编辑和浏览项目中的代码及其他资源。 | |
设置 Vim 风格编辑的缩进,并将 Vim 命令映射到Qt Creator 函数。 | |
支持的 Vim 模式和模拟命令。 | |
管理通用语法高亮定义,并选择要从高亮中排除的文件。 | |
设置 Nim 代码样式和工具路径。 | |
QML 代码快速修复摘要。 | |
设置 C++ 快速修复的全局首选项。 | |
在代码片段编辑器中添加、修改和删除代码片段。 | |
列出项目文件中的待办事项关键字。 |
另请参阅 “操作指南:编辑代码”和“编辑代码”。
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.