Skip to content

0.13.19

Compare
Choose a tag to compare
@dereuromark dereuromark released this 04 Sep 22:34
· 589 commits to master since this release

Improvements

Allow auto-collecting view template variables from (ctp/php) files.
This has two key benefits:

  • Adding them into the annotations on the top, including some auto-guessing of types
  • Prevents adding invalid annotations (for local scoped or assignment variables)

Demo

This is how your template could currently look like:
Screenshot from 2019-09-03 11-45-57

This is what IdeHelper template annotator finds and displayes in dry-run output:
Screenshot from 2019-09-03 11-45-19
Let's apply them for real (without -d).

After letting the annotator update the annotations the errors go away:
Screenshot from 2019-09-03 11-48-33