Search code examples
intellij-ideakeyboard-shortcutswebstorm

Keyboard Shortcut to go full screen in Webstorm/IntelliJ Terminal tool window from terminal?


I googled but have not found any solving documentation/thread regarding this:

Is there a way to set keyboard shortcut to go full screen in Webstorm Terminal tool window from Terminal window?

I know shortcut shift+Command+' but that doesn't work for me inside terminal. I know by double clicking it you can toggle it to full screen but wondering that is it possible to set keyboard shortcut to do it as I do this operation often.


Solution

  • Try the "Maximize tool window" command in the menu - Window->Active Tool Window->Maximize tool window

    from main toolbar menu

    Or from terminal tool menu - Resize-> Maximize tool window

    from terminal tool menu

    Warning! The following shortcut only works if "Override IDE shortcuts" option is disabled

    To map a shortcut to this, open the Preferences dialog and type "Maximize tool window" to search the settings. It should find a match in the keymap section, and you can then use it to assign a shortcut.

    image-of-webstorm-maximize-tool-window-setting

    It will warn you if you already have something assigned to your choice.

    Warning! The following option will cause some problems in Terminal, for example, editing in vim (Esc key) etc.

    Also, you can to checkout the "Override IDE shortcuts" setting in the Terminal section of the Preferences. This is enabled by default - I turn it off and find it resolves a lot of niggles I have with using the terminal. The shortcut above only works if it's disabled.

    checkout Override IDE shortcuts