cedricziel / idea-php-typo3-plugin

TYPO3 CMS Plugins for IntelliJ IDEA / PhpStorm
MIT License
95 stars 9 forks source link

Add insights/autocompletion for TYPO3_CONF_VARS, TCA #29

Open NamelessCoder opened 7 years ago

NamelessCoder commented 7 years ago

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.

cedricziel commented 6 years ago

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