DEV tools/IDEA

[IntelliJ IDEA] 특정 파일만 클래스 파일로 인식이 안될 때

defacto standard 2020. 8. 19. 14:19

AApplication.kt로 파일명을 지정하면 클래스 파일이 아니라 텍스트 파일로 인식이 되고,

AApplications.kt로 파일명을 지정하면 클래스 파일로 인식이 되는 현상 발생

 

 

Preference - Edior - File Types - Text 에  AApplication.kt 가 등록되어 있음.

해당 항목 제외시킨 후 정상 작동 확인

 

참고: https://stackoverflow.com/questions/15915202/intellij-not-recognizing-a-particular-file-correctly-instead-its-stuck-as-a-tex