기호 이름 바꾸기

프로젝트의 모든 파일에서 심볼 이름을 바꿀 수 있습니다.

클래스 이름을 바꿀 때 클래스 이름과 일치하는 파일 이름도 변경할 수 있습니다.

프로젝트에서 C++ 심볼의 이름을 바꾸려면 다음과 같이 하세요:

  1. 에디터에서 심볼 위에 커서를 놓습니다.
  2. Tools > C++ > Rename Symbol Under Cursor 로 이동하거나 Ctrl+Shift+R을 선택합니다.

    키보드 단축키를 사용하여 Python 심볼의 이름을 바꿉니다.

프로젝트에서 QML 유형의 이름을 바꾸려면 Tools > QML/JS > Rename Symbol Under Cursor 로 이동하거나 Ctrl+Shift+R을 선택합니다.

Search Results 현재 프로젝트에서 심볼의 위치와 인스턴스 수가 표시됩니다.

커서 아래 기호 이름 바꾸기

선택한 모든 인스턴스를 바꾸려면 Replace with 에 새 심볼의 이름을 입력하고 Replace 을 선택합니다. 인스턴스를 생략하려면 인스턴스 옆의 확인란을 선택 취소합니다.

참고: 이 작업은 Search Results 에 나열된 모든 파일에서 선택한 심볼의 모든 인스턴스를 바꿉니다. 이 작업은 실행 취소할 수 없습니다.

심볼이 클래스인 경우 Rename files 을 선택하여 클래스 이름과 일치하는 파일 이름도 변경합니다.

참고: 로컬 심볼의 이름을 변경해도 Search Results 은 열리지 않습니다. 심볼의 인스턴스가 코드에서 강조 표시되며 심볼을 편집할 수 있습니다. 로컬 심볼의 모든 인스턴스는 입력할 때 변경됩니다.

기호 찾기, 빠른 수정에 대한 설정 지정, 빠른 수정, C++ 빠른 수정, 빠른 수정 적용QML 빠른 수정을참조하세요 .

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.