본문 바로가기
IDE/IntelliJ

[IntelliJ] 자동 빌드(Compile) 옵션 설정

by 가가가가가가 2023. 6. 2.
반응형

● 소스 수정 후 매번 프로젝트 빌드 버튼을 누르지 않고도, 파일이 내용이 변경될 때 마다 자동으로 빌드시키는 방법

 

1. File > Settings

 

 

2. Build, Execution, Deployment > Compiler 에서 Build project automatically 체크

 

3.

    1) 옛날 버전(2021.02 ver 이전) 사용할 경우

        - ctrl + shift + a > Actions 탭 > Registry 선택

        - compiler.automake.allow.when.app.running 기능 활성화

 

    2) 최신 버전(2021.02 ver 부터) 사용할 경우

        - 아까 들어갔던 Settings 창 > Advanced Settings 

        - Allow auto-make to start even if developed application is currently running 체크

 

 

4. Run/Debug Configurations

 

5. Modify options > On 'Update' action > Update classes and resources 선택

 

6. Modify options > On frame deactivation > Update classes and resources 선택

 


참고

 

반응형

'IDE > IntelliJ' 카테고리의 다른 글

[IntelliJ] SVN 계정정보 변경하기  (0) 2023.11.23
[IntelliJ] 자동 주석 템플릿 설정 방법  (2) 2023.05.10

댓글