generated from JetBrains/intellij-platform-plugin-template
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat(gui): add AutoDevVariableListComponent and improve popup behavio…
…r in AutoDevInputSection #51 The commit introduces a new class `AutoDevVariableListComponent` to the GUI package, which is a custom Swing component. Additionally, the commit modifies the `AutoDevInputSection` class to improve the behavior of the popup when the user inputs a specific character. The popup is now created lazily and reused if it's not disposed, ensuring better memory management and a smoother user experience.
- Loading branch information
Showing
2 changed files
with
25 additions
and
6 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
11 changes: 11 additions & 0 deletions
11
src/main/kotlin/cc/unitmesh/devti/gui/chat/AutoDevVariableListComponent.kt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,11 @@ | ||
package cc.unitmesh.devti.gui.chat | ||
|
||
import javax.swing.JPanel | ||
|
||
class AutoDevVariableListComponent : JPanel() { | ||
init { | ||
// TODO | ||
isOpaque = true | ||
} | ||
} | ||
|