M
M
MUTOgen4eg2013-09-11 22:28:07
PHP
MUTOgen4eg, 2013-09-11 22:28:07

PhpStorm auto-space setting

Greetings!
Faced with an interesting problem, or rather with a desire.
In one of the screencasts, I saw an interesting PhpStorm setting from the author, when, when switching to a new line (either by hotkey, or automatically), operators were separated by spaces on the previous one. For example, $foo=$bar became $foo = $bar

Maybe someone knows how to set up a similar thing (it is desirable that this code style be set automatically).
Thank you for your attention!

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Victor Victor, 2013-09-11
@MUTOgen4eg

Perhaps the author had something like:

And when moving to a new line, he pressed the key combination to reformat the code (I have it Ctrl + Alt + L)

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question