In DataGrip, as in other IntelliJ-based IDEs, everything is about source editing. What you want can be achieved this way:
- Open console
- Start typing
sel
, you’ll get completion popup (if not, hitCtrl+Space
) - Choose
sel
here, which is live template forSELECT
statement SELECT
statement will be generated, asking for table name and column list- Select desired table from completion, as column list provide
*
- Then hit
Alt+Enter
on asterisk and selectExpand column list
I suggest you to look through https://www.jetbrains.com/datagrip/features/