저장 시 코드 형식 자동 리포맷, 불필요한 Import 최적화 설정 IntelliJ > Settings > Actions on Save > Action > Reformat code, Optimize imports 체크 > Apply
자동 임포트 설정 https://tychejin.tistory.com/340