Create a new file using shortcut phpstorm

In PHPStorm, you can create a new file using a shortcut key. The default shortcut key is Ctrl + Shift + Alt + Insert (Windows/Linux) or Cmd + Shift + Alt + Insert (Mac).

Here's how to use it:

  1. Open your project in PHPStorm.
  2. Place your cursor where you want to create a new file.
  3. Press the shortcut key Ctrl + Shift + Alt + Insert (Windows/Linux) or Cmd + Shift + Alt + Insert (Mac).
  4. In the "Create New" dialog box, select the type of file you want to create (e.g., PHP, HTML, CSS, etc.).
  5. Enter a name for your file and choose a location to save it.
  6. Click "Create" to create the new file.

Alternatively, you can also use the "File" menu to create a new file:

  1. Open your project in PHPStorm.
  2. Go to the "File" menu.
  3. Select "New" > "File" (or press Ctrl + N on Windows/Linux or Cmd + N on Mac).
  4. In the "Create New" dialog box, select the type of file you want to create (e.g., PHP, HTML, CSS, etc.).
  5. Enter a name for your file and choose a location to save it.
  6. Click "Create" to create the new file.

Note: You can customize the shortcut key for creating a new file in PHPStorm by going to Settings (or Preferences on Mac) > Keymap and searching for "Create New File".