NavigationGutterIconBuilder#setTooltipText Can you copy the content?
已回答
Currently losing focus will automatically disappear and cannot be selected.
Because I made the document on it, it would be great if I could copy the content, maybe my idea is naive.
请先登录再写评论。
Or I can listen to the NavigationGutterIcon click event and display it using a dialog box,
But when I click the icon, the default is to jump to PsiElement. Can this be changed?
NavigationGutterIcon is not designed for that. As stated in my previous answer:
Such documentation should be handled with the DocumentationProvider implementation.
@Jakub Chrzanowski
I tried using AbstractDocumentationProvider to place the document, but new problems appeared
1. The Ctrl-hover standard HTML tag cannot overwrite or coexist with the built-in QuickNavigateInfo,
2. There is a scroll bar if there is too much QuickNavigateInfo content.
3. How to generateDoc display?
my code:
1.
2. You can resize this window using a popup corner handler.
3. In Preferences > Keymap search for Quick Documentation
Jakub Chrzanowski thank you very much