Daniel L. VanDenBosch
Daniel L. VanDenBosch

Reputation: 2715

Hotkey in DataGrip to open a new console

What is the hotkey in DataGrip to open a new console and what is the hotkey to close your current console.

I did a google search and came up dry on this one. I would like to be able to do this to speed up my dev time by keeping my hand off the mouse.

Upvotes: 8

Views: 4366

Answers (2)

moscas
moscas

Reputation: 10335

From 2021.1 the shortcut is Cmd+Shift+L or Ctrl+Shift+Q.

More info can be found in the official DataGrip documentation:
šŸ‘‰ Work with console files

Upvotes: 6

moscas
moscas

Reputation: 10335

There is no hotkey for that. But you can assign yours!

For NEW CONSOLE:

  1. Press Ctrl(Cmd)+Shift+A: Find action
  2. Type "new console". You will see the action 'Open new console'
  3. Press Alt+Enter to assign a shortcut
  4. Assign it!

For CLOSE ACTIVE EDITOR:

  1. Press Ctrl(Cmd)+Shift+A: Find action
  2. Type "cae". You will see the action 'Close active editor'
  3. Press Alt+Enter to assign a shortcut
  4. Assign it!

Upvotes: 4

Related Questions