Illustration of phpstorm saving and automatic formatting method

藏色散人
Release: 2021-01-04 14:32:13
forward
6098 people have browsed it

The following column phpstorm tutorial will introduce to you how to phpstorm save and automatically format. I hope it will help you if you need Friends help!

Illustration of phpstorm saving and automatic formatting method

1. Modify the default shortcut keys:

Open Preferences..., search for "KEYMAP" and open it ;

Search for "Save All" and double-click "Save All";

Change the shortcut key to "CMD CTRL S".

## 2. Record macros:

Select Edit->Macros->Start Macro Recording.

Shortcut key type cmd alt l (formatting code) and then type CMD CTRL S; exit recording macro.

Save as Format And Save.

## 3. Add shortcut keys to macros:

In File->Settings->Keymap->Macros, find the one you just added "Format And Save", right-click "add keyboard shortcut", enter the shortcut key "Ctrl S", and click "OK".

The above is the detailed content of Illustration of phpstorm saving and automatic formatting method. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:csdn.net
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template