如何防止IntelliJ IDEA在启动时重新分配文件类型关联? [英] How can I prevent IntelliJ IDEA from reassigning file type associations at startup?
本文介绍了如何防止IntelliJ IDEA在启动时重新分配文件类型关联?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
我正在使用IntelliJ IDEA Ultimate 18.1并且Jenkinsfile支持很糟糕。值得庆幸的是,将文件视为Groovy是我可以使用的解决方法。
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.
这涉及
- 删除Jenkinsfile关联
- 在Groovy组下添加Jenkinsfile
问题每当IDEA重新开始时,它将删除Jenkinsfile关联,并且,由于(1)原始关联已被删除,请将这些文件视为纯文本。
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.
识别文件类型:文件扩展名Jenkinsfile被重新分配给Jenkins文件Revert
如何防止这种情况?
推荐答案
这是我修复的已知错误 ntelliJ IDEA 2018.2 。 2018.2将于本周发布。
It's a known bug fixed in IntelliJ IDEA 2018.2. 2018.2 will be released this week.
这篇关于如何防止IntelliJ IDEA在启动时重新分配文件类型关联?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文