Dragon
Dragon

Reputation: 487

how Can I put the ToolWindow in the middle of IntelliJ?

I am working on a plugin on IntelliJ.

ToolWindow on IntelliJ Plugin have a property anchor which we can put our ToolWindow on left/right/bottom of IntelliJ. But I am willing to put a ToolWindow or something like that in the middle of IntelliJ(the editor ToolWindow place), just as the picture shows. How can I do it on IntelliJ?

Or How the editor ToolWindow do like that? I am trying find how IntelliJ do in source code but got nothing.

I would appreciated if any help useful.

enter image description here

Upvotes: 0

Views: 159

Answers (1)

yole
yole

Reputation: 97133

The middle area of the IntelliJ user interface is always occupied by editor tabs. An editor tab is not a toolwindow, and it's not possible to place a toolwindow in the middle of the UI.

You can place your own component in an editor tab if you implement the FileEditorProvider interface.

Upvotes: 1

Related Questions