IntelliJ The idea of ​​highlighting depending on the file structure; NOT file extension

I have a small problem: there are several * .conf files in the project. But they have different file structures: one of them is XML (for example, Resin conf), and the other is a java file properties.

Is there a way to change the selection manually or even better - automatically change the type of selection?

Thanks in advance.

+5
source share
1 answer

I do not think so. IntelliJ seems to use the file extension to determine how to highlight the contents of the file.

Can I rename files? Having the same extension for different types of files seems a bit bad.

+2
source

All Articles