[Resolved] How do I make PHPStorm 6.0.3 parse *.ini.php files as ini files?

How do I make PHPStorm 6.0.3 parse *.ini.php files as ini files?

4 comments

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.

0

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

0

Do you have Ini4Idea plugin installed (Settings | Plugins) ? If not -- install it.

0

Thanks heaps for that Andriy,

I didn't know the plugin area existed.  I've also grabbed the Dibert plugin for good measure!

Terry

0

Please sign in to leave a comment.