"API for productivity hints registry" question

Is it possible to add custom features to registry? Tracking is present, but how to register feature?
Just implementing interface of FeatureDescriptor is only way as I'm see but I'm not sure it's right way and this enough.


TIA,
Dmitry

2 comments
Comment actions Permalink

Hi

you have to implement interface ProductivityFeaturesProvider to determine
what features and group of features your plugin provides.

Use
FeatureUsageTracker.getInstance().triggerFeatureUsed(featureId)/triggerFeatu
reShown(featureId) to cost statistics on your own features.

Thanks.

--
Anna Kozlova
JetBrains Inc.
http://www.intellij.com
"Develop with pleasure!"


"Dmitry Kashin" <no_mail@jetbrains.com> wrote in message
news:4770507.1108316211859.JavaMail.itn@is.intellij.net...

Is it possible to add custom features to registry? Tracking is present,

but how to register feature?

Just implementing interface of FeatureDescriptor is only way as I'm see

but I'm not sure it's right way and this enough.
>
>

TIA,
Dmitry



0
Comment actions Permalink

Thanks I'll try.

0

Please sign in to leave a comment.