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