Intellij idea 如何将EditorConfig样式应用于所有文件,包括没有扩展名的文件?

Intellij idea 如何将EditorConfig样式应用于所有文件,包括没有扩展名的文件?,intellij-idea,netbeans,editorconfig,Intellij Idea,Netbeans,Editorconfig,我在maven项目中引入了一个.editorconfig文件,其中包含以下部分: [*] charset = utf-8 indent_style = space indent_size = 4 当我在IntelliJ IDEA或NetBeans IDE中格式化整个项目时,我看到除了那些没有扩展名的文件之外,所有文件的格式都正确。为什么没有文件扩展名的文件(例如Jenkinsfile)没有格式化 EditorConfiguration有问题吗 或者IDE?IDE是否将这些文件识别为可编辑文本文

我在maven项目中引入了一个.editorconfig文件,其中包含以下部分:

[*]
charset = utf-8
indent_style = space
indent_size = 4
当我在IntelliJ IDEA或NetBeans IDE中格式化整个项目时,我看到除了那些没有扩展名的文件之外,所有文件的格式都正确。为什么没有文件扩展名的文件(例如Jenkinsfile)没有格式化

EditorConfiguration有问题吗


或者IDE?

IDE是否将这些文件识别为可编辑文本文件?如何检查?我可以在IDE中看到它们,是的。我甚至单独选择了一个文件,选择option来格式化所选文件,但仍然没有运气。请参阅NetBeans IDE示例。IntelliJ IDEA不会重新格式化文本文件,因为它们缺少格式化程序支持。对NetBeans没有把握。如果将它们与其他支持格式设置的文件类型相关联,则应该可以使用。
# every file?
[*]