-
Notifications
You must be signed in to change notification settings - Fork 0
Tooltip on Hover #25
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
base: azure-sdk-plugin
Are you sure you want to change the base?
Tooltip on Hover #25
Changes from 13 commits
a689dc3
f10aabe
3530f9b
412abbd
67e07fa
aff2934
dd7fd9f
e80b17d
55f15f2
32e0e92
1b40c89
599f53c
fbfc2cb
084f184
0c4d807
2aa72b6
24c2e06
b5a1b88
053075e
File filter
Filter by extension
Conversations
Jump to
Diff view
Diff view
There are no files selected for viewing
| Original file line number | Diff line number | Diff line change | ||||
|---|---|---|---|---|---|---|
| @@ -0,0 +1,150 @@ | ||||||
| package com.microsoft.azure.toolkit.intellij.azure.sdk.buildtool; | ||||||
|
|
||||||
| import com.intellij.codeInspection.LocalQuickFix; | ||||||
| import com.intellij.codeInspection.ProblemDescriptor; | ||||||
| import com.intellij.ide.BrowserUtil; | ||||||
| import com.intellij.openapi.editor.Editor; | ||||||
| import com.intellij.openapi.editor.colors.EditorColorsManager; | ||||||
| import com.intellij.openapi.editor.colors.EditorFontType; | ||||||
| import com.intellij.openapi.project.Project; | ||||||
| import com.intellij.openapi.ui.popup.Balloon; | ||||||
| import com.intellij.openapi.ui.popup.JBPopupFactory; | ||||||
| import com.intellij.psi.PsiElement; | ||||||
| import com.intellij.psi.PsiFile; | ||||||
| import com.intellij.ui.JBColor; | ||||||
| import com.intellij.ui.awt.RelativePoint; | ||||||
| import com.intellij.ui.components.JBPanel; | ||||||
| import com.intellij.util.ui.JBUI; | ||||||
| import com.intellij.openapi.editor.EditorFactory; | ||||||
| import org.jetbrains.annotations.NotNull; | ||||||
|
|
||||||
| import javax.swing.JEditorPane; | ||||||
| import java.awt.BorderLayout; | ||||||
| import java.awt.Color; | ||||||
| import java.awt.Font; | ||||||
| import java.awt.Insets; | ||||||
| import javax.swing.event.HyperlinkEvent; | ||||||
| import javax.swing.text.html.HTMLEditorKit; | ||||||
| import javax.swing.text.html.StyleSheet; | ||||||
|
|
||||||
| /** | ||||||
| * This class is used to create a custom quick fix that shows a tooltip with a recommendation text and a link to the Azure SDK for Java documentation. | ||||||
|
||||||
| * This class is used to create a custom quick fix that shows a tooltip with a recommendation text and a link to the Azure SDK for Java documentation. | |
| * This class is used to create a tooltip with a recommendation text and a link to the Azure SDK for Java documentation. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Will this be updated in the future to get "the respective quick fix action" lookup?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
this is the "show details" you click on to bring up on the additional info. When I'm working on the action stretch goal I'll find an alternative so the hover popup isn't too busy
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
these strings are the exact same, including number of spaces so I'm not sure how it's in the diff
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
figured out it comes from the line break so its not problematic