ktamlyn ktamlyn - 1 month ago 6
Java Question

IntelliJ not recognizing a particular file correctly, instead its stuck as a text file

There is a freemarker file (ftl) in my IntelliJ project that is incorrectly recognized as a text file. There are many of the same type that are correct. I am aware of the "Mark as text" option. This may be the original reason this file was marked as text but I am not provided with a "mark as ftl file" option to turn it back, if indeed this is the problem. If I mark other ftl files as txt, I am able to turn them back into ftl files as expected.

Vic Vic
Answer

Please ensure that this file (or a pattern that represents it) is not listed under

SettingsEditorFile TypesText files

For OS X

PreferencesEditorFile TypesText files