Quick Definition
How to implement / fine tune quick definition popup content?
This is the popup accessible through main menu: View / Quick Definition.
Currently the popup opens and displays the current line. I'll try to display the definition.
Thank you kindly.
请先登录再写评论。
You need to implement a searcher for the DefinitionsScopedSearch extension point.
Thank you Dmitry. I appreciate this.
nearly there:
Only the first line of the definition is displayed.
A block element with full definition is passed to Processor<PsiElement>.
Could it be that quick definition view stops at \n? How to change this?
Hi Imants,
I believe you need an implementation of com.intellij.codeInsight.hint.ImplementationTextSelectioner.
Cheers,
Colin
Cheers Colin, I'll try ImplementationTextSelectioner.
update: yes, ImplementationTextSelectioner did it.
Thank you very much, Colin and Dmitry!
Just wanted to +1 this as I was having the exact same behavior and this obviously fixed it for me. Thanks!