mirror of
https://github.com/carlrobertoh/ProxyAI.git
synced 2026-05-22 19:57:33 +00:00
feat: add psi link doc hover preview (Java support only)
This commit is contained in:
parent
eb10ff327c
commit
7720b2901c
3 changed files with 311 additions and 22 deletions
|
|
@ -61,6 +61,7 @@ import ee.carlrobert.codegpt.toolwindow.ui.ResponseBodyProgressPanel;
|
|||
import ee.carlrobert.codegpt.toolwindow.ui.WebpageList;
|
||||
import ee.carlrobert.codegpt.ui.ThoughtProcessPanel;
|
||||
import ee.carlrobert.codegpt.ui.UIUtil;
|
||||
import ee.carlrobert.codegpt.ui.hover.PsiLinkHoverPreview;
|
||||
import ee.carlrobert.codegpt.util.EditorUtil;
|
||||
import ee.carlrobert.codegpt.util.MarkdownUtil;
|
||||
import java.awt.BorderLayout;
|
||||
|
|
@ -442,6 +443,8 @@ public class ChatMessageResponseBody extends JPanel {
|
|||
|
||||
installPopupMenu(textPane);
|
||||
|
||||
PsiLinkHoverPreview.install(project, textPane);
|
||||
|
||||
return textPane;
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue