텍스트 편집 매크로 기록
코드 편집기에서 파일을 열어 놓은 상태에서 키보드 입력 순서를 매크로로 기록할 수 있습니다. 이후 매크로를 실행하여 해당 순서를 반복할 수 있습니다. 최신 매크로를 저장하고 실행용 키보드 단축키를 지정하거나, 로케이터에서 직접 실행할 수 있습니다.
매크로 기록
텍스트 편집 매크로를 기록하려면:
- Tools > Text Editing Macros > Record Macro 로 이동하거나 Alt+[를 누릅니다.
- 키보드 키를 선택합니다.
- 녹화를 중지하려면 ‘ Tools ’ > ‘ Text Editing Macros ’ > ‘ Stop Recording Macro ’로 이동하거나 Alt+]를 누릅니다.
참고: 매크로레코더는 코드 자동 완성 기능을 지원하지 않습니다.
매크로 재생
마지막 매크로를 실행하려면:
- Tools > Text Editing Macros > Play Last Macro 로 이동합니다.
- Alt+R을 선택합니다.
- 로케이터에 ‘
rm’를 입력합니다.
매크로 저장
마지막 매크로를 저장하려면 Tools > Text Editing Macros > Save Last Macro 로 이동하십시오.
저장된 매크로를 확인하고 제거하려면, [ Preferences ] > [ Text Editor ] > [ Macros]로 이동합니다.

매크로에 키보드 단축키 할당
텍스트 편집 매크로에 키보드 단축키를 할당하려면 Preferences > Environment > Keyboard 로 이동하십시오.
‘키보드 단축키 지정’, ‘Lua 스크립트 만들기’, ‘방법: 코드 편집’, ‘로케이터를 사용한 탐색’항목도 참조하십시오 .
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.