How to reference the package prompt box in the development of idea plugin
已回答
I want to enter the package path in the text box of the custom jframe when prompted as shown below how should the box be written code?
The ideaIU2021.2 version is used.

How is the code written? Do you need to introduce other plugins?
请先登录再写评论。
There is no dedicated package popup that can be invoked programmatically. It is part of the Code Completion feature.
If I understand you correctly, you may need a text field with completion. See:
https://intellij-support.jetbrains.com/hc/en-us/community/posts/206758855-Provide-Auto-complete-in-a-text-field-JTextField-
Thanks karol for helping