[TYPO3-dev] Small PhpStorm hint for devs
Krystian Szymukowicz
t33k at prolabium.com
Fri Mar 11 15:34:21 CET 2011
W dniu 2011-03-11 10:09, Steffen Kamper wrote:
> Hi,
>
> what i still miss is autocompletion for $GLOBALS like TYPO3_DB, BE_USER
> etc.
>
> Did someone got it working?
>
well - the guys from phpStorm suggested some workaround in case of
extensions (sure - no one will add global $TYPO3_DB; to core)
function foo () {
/** @var $TYPO3_DB t3lib_DB */
global $TYPO3_DB;
$TYPO3_DB->
}
http://devnet.jetbrains.net/message/5297085#5297085
But its a bit ugly IMO.
--
grtz
Krystian Szymukowicz
More information about the TYPO3-dev
mailing list