Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to open all modified files in PhpStorm

The goal is simple - I want to open all modified files at once. Is there a fast way to do it?

Currently I am using Alt + 9 and then open files, but that is not fast enough (press shortcut, select all, press Enter, manually open files that are "unversioned")

like image 681
Zanshin13 Avatar asked Apr 13 '17 15:04

Zanshin13


People also ask

How do I search the whole project PhpStorm?

From the main menu, select Edit | Find | Find in Files Ctrl+Shift+F . In the search field, type your search string. Alternatively, in the editor, highlight the string you want to find and press Ctrl+Shift+F . PhpStorm places the highlighted string into the search field.

How do I see all modified files in IntelliJ?

View changes history for a file or selectionThe change history for a file is displayed in the dedicated History tab of the Version Control tool window Alt+9 . The change history for a selection of code is displayed in a separate window, in the form of the differences viewer.

How do I search globally in PhpStorm?

Search everywhereFrom the main menu, select Navigate | Search Everywhere or press Shift twice to open the search window. By default, PhpStorm displays the list of recent files.


1 Answers

You can create a macro for the keystrokes you mentioned, and assign a keyboard shortcut to it:

  1. Edit | Macros | Start Macro Recording
  2. Perform the keystrokes: ALT+9, CTRL+A, ENTER, ALT+9
  3. Edit | Macros | Stop Macro Recording, give it a name
  4. Settings | Keymap | Macros, add keyboard shortcut.
like image 190
iloo Avatar answered Nov 15 '22 09:11

iloo