[오류해결] Intellij 에서 html 인식 안 됨

HyeBin, Park·2021년 12월 31일
0

오류

intellij에서 spring 프로젝트를 만들던 중에 파일 확장자를 넣지 않고,
text file을 만들었다가 뒤늦게 html 확장자를 넣어줬다.
근데 html 인식이 안된다. 파일을 삭제한 후 다시 html 파일로 생성을 했는데도 인식이 안 됐었다.


해결 방법

> File - settings - Editor - File Types

> File type auto-detected by file content

에서 해당 파일을 지워주면된다


아주 잘 인식한다 !

https://intellij-support.jetbrains.com/hc/en-us/community/posts/115000198570-File-type-not-correctly-detected

0개의 댓글