Authors:
Haehnchen
opensource software

PHP Annotations

Products: IntelliJ IDEA, PhpStorm

Vendor: Daniel Espendiller

Email:

Website: https://github.com/Haehn...ea-php-annotation-plugin

SourceCode: https://github.com/Haehn...ea-php-annotation-plugin

License: https://github.com/Haehn...ugin/blob/master/LICENSE

Bugtracker page

Description:

PHP Annotation
GitHub | Issues

Installation Features
  • Youtube: PhpStorm: PHP Annotations Plugin
  • Attach PhpClass to their DocTag to support "Code > Optimize Imports"
  • Auto alias detection on use statement
  • Filter annotation classes on targets like method, class, property, ...
  • Goto for doc tags and property names
  • Detect annotation property values on phpclass property name including types
  • Index classes with @Annotation inside doc block
  • Plugin extension point
  • Doctrine related providers
  • Class import annotator
  • Class constants in DocTags
Todo
  • Configure custom aliases
Downloads: 127531
Rating:
Participated in rating: 3
Version Since Build Until Build File/URL Size (Kb) Date Details
1.4. 131. . Download 125.07 2014-08-24 14:11:49 details
0.4. 130.1. . Download 83.32 2013-11-24 16:04:49 details
0.3. 129.713. . Download 82.69 2013-10-03 16:10:43 details
. .
6 updates are hidden show all updates
Screenshot #14679
Screenshot #14309
Screenshot #14499
Screenshot #14310
Screenshot #14497
Screenshot #14311
Screenshot #14498
Screenshot #14312
Screenshot #14513

Recent change notes:

1.4
  • API: add new proxy method "getPropertyValue" to get representing psielements
  • Completion and goto for class constants inside doctags #18
  • Annotation are now valid in namespace less files; this also brings some performance improvements because of lower search scope
1.3
  • Typo fix that class completion are detected as method
  • Attach annotation insertHandler for alias completion
  • Rename getRootValue to more naming getDefaultPropertyValue
  • Remove unused configuration form #15
  • Fix that docblock completion confidence is valid in comments and provides autopopup
1.2
  • Fix annotation class inside composer libraries where not autocompleted #13
  • Support fqn classes annotation #17
  • Add java annotations for all extension points
  • Pipe additional util methods in extension parameters
1.1
  • Add doc tag property value utils and dicts
  • Add alias annotation class completion
  • Improve performance on annotation class completion
  • Use php class statement scope instead of file scope for namespace collection
1.0.1
  • Detect annotation classes in same namespace
1.0
  • Remove all PhpStorm6 hacks, support new Api and only allow PhpStorm7 builds
  • Add more property value type detections
  • Add and change extension points to reflect latest api features
  • Add class import annotator
  • Add docblock property value provider for @Enum
  • Add Doctrine providers for: targetEntity, repositoryClass, mappedBy, inversedBy
  • Migrate pattern to allow multiple docblocks #12, #8
  • Plugin dont need to explicit enable
0.4
  • Only support PhpStorm > 7
  • Activate annotation class reference provider and use it where possible
0.3
  • Pattern fix to support eap 131.235
  • Support "@" completion WI-20265
  • Optimize doc tag name insert handler
0.2
  • Better property completion pattern and type detection
  • Optimize property value insert handler
  • Extension points for property goto and completion eg @Template("file.html.twig")
0.1
  • Init version support PhpStorm6 and 7

Comments:

Haehnchen
2014-06-07 21:33:18
@kungfufrog This plugin needs a higher api version
.
kungfufrog
Rated:
2014-06-03 03:42:10
I cannot find this in the plugins repository for IntelliJ IDEA. Is it ok that I downloaded the JAR from here and manually installed in my IDE? (IntelliJ IDEA) I use IntelliJ for PHP/Symfony2 development and always will!
.
tehasystems
Rated:
2014-06-01 16:14:45
Wow! I just found this plugin while I was rating the Symfony2 plugin and this is the one thing that I have been missing. I really like your plugins, thank you very much for you work!
.
demonkoryu
Rated:
2013-10-29 16:36:00
Good plugin. It would be good if autocompletion was also triggered from incomplete references (such as @ODM\...), not only in empty phpDoc tags; or at least this behaviour would be explained here.
.