打开IntelliJ IDEA,File -> Settings -> Editor -> File Types 原文链接:https://blog.csdn.net/feicongcong/article/details/79061151