How to call the suggestion dialog box?
已回答
I want to pop up the following dialog box in the plugin. Which API should I call instead?

请先登录再写评论。
Hi,
See: https://plugins.jetbrains.com/docs/intellij/code-completion.html#showing-completion-popup-programmatically
I found TextFieldWithAutoCompletion,But his text is not centered,I don't want to use `setRowHeight (new LanguageTextField(). getPreferredSize(). height * 2+JBUIScale. scale (1));` Set size,Is there an API that can pop up this auto complete window?
Sorry, but I don't understand what is wrong and what you want to achieve. Please clarify with current code, actual screenshots and expected behavior sketch.
This is my current UI. When entering text, I use Window to recommend content
But I want this window as a content recommendation
I understand this, but I don't get what is wrong when you use TextFieldWithAutoCompletion.
There is no problem using TextFieldWithAutoCompletion, but its text is not centered. If I want to center it, I have to set the row height of the table through `setRowHeight (new LanguageTextField(). getPreferredSize(). height * 2+JBUIScale. scale (1));`. This will cause the row height to be smaller, and I don't want it to be smaller.
Is there any API that can call this automatic prompt dialog box?