Skip to content

Console Output

saikek edited this page Jan 12, 2017 · 2 revisions

Console Output

You are able to create your own console and print usefull information there.

Console window example

Implementation Details:

As for all UI components you need to *Factory class that would describe this panel, add header and map Panel to IDE.

And *Panel class that would describe Panel layout.

Console class would simple wrapper around ConsoleView class that allows to print messages.

plugin.xml contents

  <extensions defaultExtensionNs="com.intellij">
    <toolWindow id="Demo Console Panel"
                anchor="bottom"
                canCloseContents="false"
                factoryClass="com.cyberneticscore.ideapluginguide.consoleoutput.model.ConsolePanelFactory"
                icon="/general/locate.png"/>
  </extensions>
Clone this wiki locally