Shortcuts
快捷键
Shortcuts are the difference between a nice-to-use editor and a professional editor. As a professional you spend hundreds of hours in front of your application. Each shortcut which makes your work-flow faster counts. Luckily the developers of Qt Creator think the same and have added literally hundreds of shortcuts to the application.
快捷键在易用编辑器与专业编辑器间是有区别的。作为一名专业人士,在程序上会花费上百个小时。每个快捷键都能让工作流程更快捷。幸运的是,Qt Creator的开发者也有同样的想法,并为该应用程序添加了数百个快捷键。
To get started we have collection some basic shortcuts (in Windows notation):
首先,我们收集了一些基本的快捷方式(用Windows符号表示)
Ctrl+B
- Build project- Ctrl+B -构建项目
Ctrl+R
- Run Project- Ctrl+R -运行项目
Ctrl+Tab
- Switch between open documents- Ctrl+Tab -切换打开的文档
Ctrl+K
- Open Locator- Ctrl+K -打开定位器
Esc
- Go back (hit several times and you are back in the editor)- Esc -返回(退回在编辑器中的,上次点击位置)
F2
- Follow Symbol under cursor- F2 -找到光标下的变量定义的地方
F4
- Switch between header and source (only useful for c++ code)- F4 -在头文件和源代码之间切换(仅对c++代码有效)
List of Qt Creator shortcuts from the documentation.
文档中的Qt Creator快捷方式列表。
Configure Shortcuts
配置快捷键
You can configure the shortcuts from inside creator using the settings dialog.
可以使用设置对话框,配置快捷键。