Michael Sparrow
Michael Sparrow

Reputation: 149

How to instantiate a tool window on every opened IntelliJ window programmatically?

I'm working on a plugin for IntelliJ which consists of a tool window. My current approach it so instantiate it via:

<extensions defaultExtensionNs="com.intellij">
        <toolWindow id="myID" icon="icon.svg" secondary="false" anchor="right"
                    factoryClass="package.MyToolWindowFactory">
        </toolWindow>
</extensions>

in plugin.xml. However I'm facing a problem that the tool window and all of its components are being instantiated after the user click on the tool window pane. How can I fix it?

Thx in advance :)

Upvotes: 1

Views: 55

Answers (0)

Related Questions