Answer the question
In order to leave comments, you need to log in
How to make automatic spaces between statements in PHPStorm?
Tell me how to configure PHPStorm so that auto spaces are placed between operators?
For example: not if($a>5) but if ($a > 5)
Answer the question
In order to leave comments, you need to log in
You can always call Code -> reformat Code before saving the document
Or record a macro
1. Edit -> Macros -> Start recording
2. Code -> Reformat Code
3. Ctrl+s
4. Edit -> Macros -> Stop Record
5. Enter a name for the macro (Reformat_macros)
6. In the Ctrl+Alt+S settings in the Keymap, remove Ctrl+S from the Save All command
7. Attach the Ctrl+S combo to the macro (Reformat_macros)
8. That's it.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question