Open a default database console programmatically


  I am developing a function now. After I get the sql statement, it will automatically open a default database console. I have been looking for a long time, but I have not seen the code implementation of this block.

1 comment
Comment actions Permalink

Take a look at: `com.intellij.database.editor.DatabaseEditorHelper#openConsoleFile(com.intellij.database.psi.DbElement, boolean)`
Or the methods nearby


Please sign in to leave a comment.