php - How to validate INI-File format in Eclipse
I want to validate the format (syntax check) of an INI file with Eclipse. I'd prefer the DLTK validator using a PHP script (just checking @parse_ini_file for the return value).
How can I setup this in Eclipse?
When I try to setup a script, it ignores my INI files, only checking *.php files on change.
Answer
Solution:
In the menu Window/Preferences, General/Content Types, Test/Configutation files, in the box "File associations:"
Check:
*.ini (locked)
Is present or not? If not add it in.Then Add DLTK validator for PHP INI file.