D
D
Dima2020-06-11 09:08:29
phpstorm
Dima, 2020-06-11 09:08:29

How to format code in php storm?

I press ctrl + shift + alt + l and in the window I press ok. the code is aligned, but empty lines are not removed.
How to remove blank lines in the simplest possible way?

Answer the question

In order to leave comments, you need to log in

1 answer(s)
N
Nick Sdk, 2020-06-11
@lidacriss

probably in this block what you need
File | settings | editor | Code Style | PHP | Blank Lines
5ee1e20d31d0e522364641.png

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question