Open a small editable window with full code completion

Answered

Hi,

i want to create an action, which opens a specific location of a file (think of it like the first 10 lines of a selected file) and the user can code in such a pop up window, with full intellisense and code completion.

Preferable this happens via popup and simliar to the quick definition view (https://www.jetbrains.com/help/clion/viewing-definition.html). But this is read only sadly.

I have no problems creating a new popup panel by myself, but i wonder how i can get the intellisense/code completion for the java language running.

I found 

TextFieldWithAutoCompletion

but here i have to provide my own Strings. I sadly found no way of getting the java code completion in here.

 

Do you know of an easy way to achieve this?

 

1 comment
Comment actions Permalink

https://plugins.jetbrains.com/docs/intellij/editor-components.html#editortextfield provides a "full" customizable editor that can be embedded in your dialog

0

Please sign in to leave a comment.