Search code examples
webstormjetbrains-ide

Navigation Bar invoke `new file` menu


This video shows the following:

enter image description here

The keyboard shortcut is shown for Mac only (command+N). Is there an equivalent for Windows?


Solution

  • File | New... -- Alt + Insert using Default keymap.

    NOTE:

    On Windows (at least when using Default keymap) it shares the same shortcut with Code | Generate... .. so the same shortcut will execute different action based on current context/location -- e.g. if invoked in Editor it will execute Code | Generate and when invoked while in Project View panel -- New File.