Getting hold of console view?

This should be easy, I just cant figure it out.

I have a ToolWindow with a bunch of JPanels and components in. Burried somehwere in this tool window is the JComponent of a ConsoleView.
Now I can get hold of the toolWindow at any time like this:

ToolWindowManager toolWindowManager = ToolWindowManager.getInstance(project);
ToolWindow toolWindow = (ToolWindow) toolWindowManager.getToolWindow(consoleWindowId);

But how do I get the ConsoleView?

Comment actions Permalink

Check out - - I had a similar need but at the moment it's not possible.

I've created a request for this in JIRA so it may be possible from IDEA v7 onwards -


Comment actions Permalink

My problem is that the console does not like to be shared between multiple projects opened in different frames. My console "lives" in an applicationcomponent. I have other resources there that is being shared by multiple projects, like a web server etc. How do you handle stuff like that?


Please sign in to leave a comment.