これは Craft CMS Advent Calendar 2017 7日目の記事です。
いよいよ Craft 3 RC1 がリリースされましたね。
Craft 3 RC | Craft CMS
https://craftcms.com/news/craft-3-rc
That means that at this point, we think Craft 3 is stable enough to be used (and supported) in production environments, and we think most people are better off using it for new projects.
公式アナウンスに記載されている通り、Craft 3 を採用する機会が増えていきそうです。
そんな矢先、興味深い話題をツイートを発見!
Get full auto-completion of the Craft app APIs in PhpStorm in your Twig templates!
— nystudio107 (@nystudio107) 2017年12月5日
Just enable the Symfony plugin & then add this to the top of your templates:
{# @var craft \craft\web\twig\variables\CraftVariable #}
Hat tip @P_Harrington83https://t.co/JtFxk65OiZ#craftcmspic.twitter.com/7k4Cykvgx4
早速試してみたことを共有します。