Nov 13, 06:36
I am trying to build out an intellij plugin that adds a button to the toolbar - and upon clicking I want to create a window that can be filled with HTML compatible text (or some way formattable wrt background color, scrollable etc).
I have used AnAction to create a button thats added to the tool bar, but when I use Messages.showMessageDialog, the output is very constrained and not formattable (I also see the Java icon that I cannot get rid of).
Instead I tried using Messages.configureMessagePaneUi(textpane,"Test") - but am unable to actually render the pane (i.e. nothing shows up).
Any chance you can help me with sample code to be able to render content into a new window upon click of a plugin button?
Ideally I am looking to render more formatted content (e.g. HTML formatted with controlled background color, and including uri referenced images)