-
-
Notifications
You must be signed in to change notification settings - Fork 40
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[API] Provide an index with annotated elements stubs #53
Comments
Implemented this for my plugin like following: https://github.com/goaop/idea-plugin/blob/d92d57e0fe39100755f3e79ff6fa8315862bd023/src/com/aopphp/go/index/AnnotatedPhpNamedElementIndex.java Speed of adding a back references with this index, eg. from annotation name to all usages is pretty nice, whereas without this index full scan for PhpIndex will be performed. |
also Drupal needs this Haehnchen/idea-php-drupal-symfony2-bridge#11 |
to be implemented with #79 |
… with annotated elements stubs #53
… with annotated elements stubs #53
… with annotated elements stubs #53
… with annotated elements stubs #53
… with annotated elements stubs #53
… with annotated elements stubs #53
… with annotated elements stubs #53
|
Thanks! 👍 |
It would be nice to provide an API for querying the collections of
PhpNamedElement
s by annotation name. This can be useful in many places and plugins to quickly get interesting elements, for example, to find all methods, annotated with\Sensio\Bundle\FrameworkExtraBundle\Configuration\Route
, etcStub index should be something like this:
<String, PhpNamedElement[]>
The text was updated successfully, but these errors were encountered: