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:
This is what IdeHelper template annotator finds and displayes in dry-run output:
Let's apply them for real (without -d).
After letting the annotator update the annotations the errors go away: