Answer the question
In order to leave comments, you need to log in
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
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 questionAsk a Question
731 491 924 answers to any question