How to navigate to another toolWindow in the Run/Debug console?
已回答
Hi, I develop a plugin filter the console log and output special content to another toolWindow.
And I want to add navigate from console to my toolwindow. and position the corresponding line.
How to implement HyperlinkInfo code?
Is it can come true?
return new Result(0, 50, new HyperlinkInfo() {
@Override
public void navigate(Project project) {
//navigate to mytoolwindow and position the line.
}
});
请先登录再写评论。
I'd be interested in your technique for filtering console log output. Would you be willing to share that?
I am also intrested in file, but is it worth for me.
Kook,
ToolWindow instance has a ToolWindow.acivate(Runnable) available, so if you have access to its instance, you can easily show your TW.
Hi, Sparky, I filter the sql log from the console and output to another toolWindows.
Hi, Jakub Chrzanowski
Thanks, I can activate my toolWindows, But How can I focus on the corresponding line?
I don't know about which line you think since TW can implement any UI.
I output log to another ConsoleView TW, and Is it can be focus specified line?