选择当前代码块
要在代码编辑器中选中当前的 C++ 代码块,请按Ctrl+U。
再次按下Ctrl+U可将选区扩展至父代码块。
要撤销上一次的选择,请按Ctrl+Alt+Shift+U。
启用智能代码块选择
要启用智能代码块选择,请转至“Preferences ” > “Text Editor ” > “Behavior ”,然后选择“Enable smart selection changing ”。

另请参阅 《操作指南:编辑代码》和《编辑代码》。
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.