Custom usages types
Hi,
I'm working on a plugin and I want to be able to either
- filter usages before showing them in order to show only relevant ones or
- being able to introduce a new usage type (example: for class X a usage of type "In annotated method" will be @SomeAnnotationKnownBefore public void targetMethod(X x) { }
Can you give me some ideas? Basically I want to show only some usages to the user, which they'll find relevant in the situation the plugin supports.
Thanks!
Please sign in to leave a comment.
Hi Dawid,
It might be worthwhile checking out if registering a smart completion contributor will fulfil your requirements
Here is a high level view of what smart completion is http://www.jetbrains.com/idea/webhelp/smart-type-code-completion-completing-code-based-on-type-information.html
If this is not what you are after, perhaps you could provide a concrete example of what functionality your plugin will offer? :)
Alan