텍스트 편집 매크로 기록하기
코드 편집기에서 파일을 열면 키보드 시퀀스를 매크로로 기록할 수 있습니다. 그런 다음 매크로를 재생하여 시퀀스를 반복할 수 있습니다. 최신 매크로를 저장하고 키보드 단축키를 지정하여 실행하거나 로케이터에서 실행할 수 있습니다.
매크로 녹화하기
텍스트 편집 매크로를 녹화하려면 다음과 같이 하세요:
- 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 로 이동합니다.
저장된 매크로를 보고 제거하려면 환경설정 > Text Editor > Macros 으로 이동합니다.

매크로에 키보드 단축키 지정하기
텍스트 편집 매크로에 키보드 단축키를 할당하려면 환경설정 > 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.