I
I
Ivan Grishov2022-04-08 10:52:43
phpstorm
Ivan Grishov, 2022-04-08 10:52:43

How to disable automatic removal of extra spaces in PhpStorm?

Good afternoon.

How do I disable automatic white space removal in phpstorm. Apparently, with automatic saving, it also automatically formats the file from extra spaces, because of which the file changes and unnecessary changes fly into the git, it looks ugly.

Please tell me how can I get rid of this?

624fe9c473382925056888.jpeg

Answer the question

In order to leave comments, you need to log in

1 answer(s)
T
TheAndrey7, 2022-04-08
@TheAndrey7

You need to get rid of extra spaces. Format all files and commit so as not to stretch their correction for all subsequent commits. Also, EditorConfig
can help prevent formatting problems in the future.

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question