Assign such pattern to "ini file" in "Settings | File Types". This will affect whole IDE (all projects). Whole file will be treated as INI file, no PHP at all.
Alternatively -- "Settings | Template Data Languages" -- assign "Ini" on right column for such file. This is per-file/per-project setting and you still will be able to use PHP tags.
Hi there,
Assign such pattern to "ini file" in "Settings | File Types". This will affect whole IDE (all projects). Whole file will be treated as INI file, no PHP at all.
Alternatively -- "Settings | Template Data Languages" -- assign "Ini" on right column for such file. This is per-file/per-project setting and you still will be able to use PHP tags.
Thanks for your reply Andriy,
I don't have the ini file type as an option in Settings | File Types. Is this something I need to import?
Terry
Do you have Ini4Idea plugin installed (Settings | Plugins) ? If not -- install it.
Thanks heaps for that Andriy,
I didn't know the plugin area existed. I've also grabbed the Dibert plugin for good measure!
Terry