Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

IntelliJ Idea highlighting depending on file structure; NOT file extension

I have a little problem: in the project are exists several *.conf files. But they have different file structures: one of them is XML (e.g. Resin conf) and another is java properties file.

Is there any way change highlighting manually, or even better - to change highlighting type automatically ?

Thanks in advance.

like image 950
Igor Konoplyanko Avatar asked Nov 05 '22 09:11

Igor Konoplyanko


1 Answers

I don't think so. IntelliJ seems to use the file extension to determine how to highlight file contents.

Is it possible to rename the files? Having the same extension for different file types seems like a bit of a bad idea.

like image 128
Wim Deblauwe Avatar answered Nov 14 '22 21:11

Wim Deblauwe