I have a .css file in IntelliJ IDEA, but it has a LESS content.
This is why IntelliJ IDEA shows errors when it analyzes the correctness of the .css file:
Changing the file extension is not a solution because it's not my own project.
How can I force IntelliJ IDEA to open the .css files as .less files in order to be able to recognize LESS tricks (E.g.: @xyz: 100px;
)?
Details
- IntelliJ IDEA ULTIMATE 2016.2
- Windows 7