Releases: dereuromark/cakephp-ide-helper
0.10.6
Bugfixes
- Try catch didnt respect PHP7 errors.
- Fixed custom vendor folder resolution.
0.10.5
Improvements
Allow database Type auto-complete.
0.10.4
Improvements
- Allow adding View class annotations for helpers from controller helpers array.
- Allow ViewAnnotator to also look into loaded plugins for additional helper parsing (e.g. in ROOT/plugins).
0.10.3
Improvements
- Add annotations in shells and tasks for loaded tasks.
- Allow custom View class for TemplateAnnotator
- Allow file license doc block above annotation doc block in templates
0.10.2
Bugfixes
- Only remove inline comments if completely replaced, otherwise just keep it below the new doc block.
- Small fixes for Windows.
0.10.1
Bugfixes
- Fixed TemplateAnnotator for empty templates and also around inline doc blocks.
- Removed preemptive template annotations by default, this was a bit too eager for some probably. Whoever wants this can easily enable it via Configure setting.
- Improved syntax for vendor namespaced plugins: E.g.
Vendor/PluginName.ModelName
syntax now works.
Improvements
- Added a
-f
/--filter
option for AnnotationsShell to more quickly annotate specific new files.
0.10.0
Improvements
Added a CodeCompletion shell on top of the existing ones to allow a more generic IDE support from now on.
You can generate a basic file that any IDE should understand. With this you can provide correct typehinting now for a lot of magic properties and methods that so far haven't worked.
See the documentation on details - and on how to write your own custom (project/plugin) tasks on top!
Give it a try - and let me know in the Wiki or via PR (pull request) if your IDE works out or what might still be missing.
MCGA - Make CakePHP Great Again! :)
0.9.8
Bugfixes
Generator:
- Auto-create the new ROOT folder if necessary for the meta file.
Improvements
Generator:
- With
preemptive
option enabled it will now also fetch and add all custom finders to auto-completion.
But it seems to only be possible to add them all globally for the time being. Thus not all of them will work, you need to still load the behavior for it first in some cases.
Annotator:
- AppView annotations are now always added as they should enable the developer to use the View class access right away.
0.9.7
Improvements
Added even more IDE auto-completion for various magic strings:
- Table::find():
'all'
,'list'
,'threaded'
etc - Table associations belongsTo(), hasOne(), hasMany(), belongsToMany(): all current tables
Further:
- For meta file generation it now uses a ROOT folder. Please make sure to remove the old ROOT file.
This allows for custom and manual meta files on top. - test_files and test_app test dirs are now removed for tagged releases, this avoids IDE warnings about multiple occurrences.
0.9.6
Improvements
Added IDE auto-completion for
- loadModel() for Controllers
- loadHelper() for Views
- loadComponent() for Controllers
- addBehavior() for Models
Also now allows to customize or skip certain native generator tasks.