Code Completion events handling
Answered
Hi!
I'm trying to write code-completion plugin and want to collect some usage statistics like what line of code was inserted by user. For my LookupElements I can call withInsertHandler method to determine inserted suggestion, but is there a proper way to handle other contributors suggestions insert?
I mean I want to log something like
'my contributor called, my <line of inserted code> suggestion inserted'
'my contributor called, but others <line of inserted code> suggestion inserted'
Thanks!
Please sign in to leave a comment.
See com.intellij.codeInsight.lookup.LookupListener