DDL opened instead of table from database console when "Go to"
已回答
Hello,
I've found changed behaviour since IDEA 2017.
Before this version when I click from database console "Go to" or with hotkey ("Ctrl + Click" or F12 - I use Visual Studio hotkeys) content of this table opened (like if I double click on table from tables list at the databases browser)
Now when I click my hotkey of "Go to" the DDL of table opened instead.
How can I revert the behaviour?
This case is rare for me, when I need DDL schema of the table. When I need It I just open DDL from databases browser in context menu of the table.
I do not see something related in settings or in keymap for the Databases plugin.
请先登录再写评论。
Hello,
Please see related blog post about this action. Later, the functionality has been amended a bit.
Since 2017.3 version there will be an option to control the default action when navigating to a table:
Did the 2017.3 version is released?
I'm sorry, but I don't see that option at the Tools->Databases:
Product information:
IntelliJ IDEA 2017.2.4
Build #IU-172.4155.36, built on September 12, 2017
JRE: 1.8.0_152-release-915-b11 amd64
JVM: OpenJDK 64-Bit Server VM by JetBrains s.r.o
Linux 4.4.0-93-generic
'Database Tools and SQL' plugin version:
Version: 172.4155.36
This option will be available in 2017.3 (not released yet).
2017.3 EAP can be found here: https://www.jetbrains.com/idea/nextversion/.
Hello. Same issue in 2021.2.2
It used to open database console and now it opens DDL instead
I don't see any related configuration
This is not the issue. Please read this post to get details on how we change navigation.
I dunno, but this is the most annoying thing on IntelliJ ever. All I want ist to search for database tables and open them. From version to version (phpstorm) it's getting harder. It always opens this bullshit DDL file.
So what is the correct way to achieve it!?
After latest update I'm able to open database console from quick search (double shift) using F4
Thanks Stan. You are right. Somehow this didn't work yesterday for me, but now it is. Still I see an issue, that also the Database tab in the search is gone.
I just don't know what all this is good for? Do more people want to see the ddl file than the db editor? Can't imagine that.
Is it possible to change that default behaviour?
You can return Database tab to the search in Advanced Settings:
