Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Shortcuts for view modes in IntelliJ IDEA

I can't find what is the shortcut for toggling of full screen and distraction free viewing modes in IntelliJ IDEA. My questions are:

  • Do those shortcuts even exist?

  • Can they be defined as some custom shortcuts?

  • Is there a way to create macros? (by pressing one button toggle both modes)

  • Is there a plugin of some sort that does this?

Thank you!

like image 718
Dropout Avatar asked Jan 20 '16 09:01

Dropout


People also ask

How do I view methods in IntelliJ?

By default, IntelliJ IDEA shows all classes, methods, and other elements of the current file. To toggle the elements you want to show, click the corresponding buttons on the Structure tool window toolbar.

How do I view IntelliJ shortcuts?

Configure keyboard shortcuts IntelliJ IDEA includes several predefined keymaps and lets you customize frequently used shortcuts. To view the keymap configuration, open the Settings/Preferences dialog Ctrl+Alt+S and select Keymap. IntelliJ IDEA automatically suggests a predefined keymap based on your environment.

What does Ctrl Shift F do in IntelliJ?

ctrl+shift+f searching in some last used directory instead of entire project Follow. Hello, In past IntelliJ versions, ctrl+shift+f would search the entire project (no matter whether you had at some point used "find in path").


2 Answers

i would like to add to the existing answer, that there is indeed an indirect keyboard shortcut to change view mode.

ctrl+` > 4 > 1 (for presentation mode)
ctrl+` > 4 > 2 (for distraction free mode)

tested on intellij idea v18.1.4 ultimate edition

like image 67
SagarKapasi099 Avatar answered Oct 14 '22 14:10

SagarKapasi099


The shortcut does not exist by the default configuration (as seen here, and in this YouTube video that showcases its use).

IMAGE

You can assign it (distraction free example) yourself by going to File > Settings > Keymap and type distract in the filter field (or expand the Main menu > View > Toggle Distraction Free mode tree). Right click the item and select Add Keyboard Shortcut (or read this manual on how to assign shortcuts in IntelliJ).

like image 33
Idos Avatar answered Oct 14 '22 13:10

Idos