How can I prevent IntelliJ IDEA from reassigning file type associations at startup?

帅比萌擦擦* 提交于 2019-12-12 11:22:28

问题


I'm using IntelliJ IDEA Ultimate 18.1 and Jenkinsfile support is awful. Thankfully, treating the file as Groovy is a workaround I can live with.

This involves

  1. Removing the Jenkinsfile association
  2. Adding Jenkinsfile under the Groovy group

The problem is every time IDEA starts up fresh, it will remove Jenkinsfile association and, since (1) the original association has been removed, treat these files as plain text.

File type recognized: File extension Jenkinsfile was reassigned to Jenkins file Revert

How can I prevent this?


回答1:


It's a known bug fixed in IntelliJ IDEA 2018.2. 2018.2 will be released this week.



来源:https://stackoverflow.com/questions/51499457/how-can-i-prevent-intellij-idea-from-reassigning-file-type-associations-at-start

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!