Listening for whenever a quick fix is applied?

已回答

I am interested in my plugin in being notified whenever a user applies a quick fix. Sort of similar to how the LookupListener interface allows me to hook into users' code completion acceptances. How can this be done?

1
正式评论

There's no easy API for that. Why do you need this?

Avatar
Permanently deleted user

Hi Peter,

Thanks for your quick response. What I'm really trying to do is to understand the conditional probability p(x|y) that a user applies some quick fix x when an error y is present. That will help my team prioritize our work, understand the impact, refine the message prompts, etc.

Is there a not-so-easy API? I'm happy to jump through a few hoops to enable this!

Thanks,
Ari

0

If the quick fixes are under your control, the easiest solution would be to include the tracking into their code.

0
Avatar
Permanently deleted user

Great, I will give that a shot. Thanks again!

0

请先登录再写评论。