IntelliJ IDEA Open API and Plugin Development Is Deprecated. Join our JetBrains Platform Community.

Open a default database console programmatically

已回答

Hello
  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.

0

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

0

请先登录再写评论。