idea-php-typo3-plugin
idea-php-typo3-plugin copied to clipboard
Add insights/autocompletion for TYPO3_CONF_VARS, TCA
If possible it would be quite awesome if the plugin would collect and provide autocompletion for $GLOBALS['TYPO3_CONF_VARS']
by parsing LocalConfiguration, AdditionalConfiguration and ext_localconf.php files of extensions.
This is something that often bothers me; needing to look up the exact name of a global configuration variable. For bonus points, parse make $_EXTCONF serialized value available while processing ext_localconf.php since this both directly and indirectly can affect the resulting global config array.
Minor achievement made: Table name completion is available for foreign_table
and allowed
array indexes now (v.0.2.9).
Ref: https://github.com/cedricziel/idea-php-typo3-plugin/blob/f72ec2f971f9ecfefa14e84d817ff4a6aa550ea0/src/main/java/com/cedricziel/idea/typo3/util/TCAUtil.java#L11-L14