Answer the question
In order to leave comments, you need to log in
Where do the empty tabs come from with any change to the file?
Good afternoon, I work in phpstorm + git, at the slightest change in the file, git sees some tabs throughout the document.
Those. opened the file -> added a space -> such marks appeared throughout the file. It's like they're automatically set.
How to get rid of it? And then these tabulations get out in a commit.
Thanks in advance!
Answer the question
In order to leave comments, you need to log in
On your screen, I see the opposite. They do not appear, but rather disappear. And not tabs, but spaces.
By default, JetBrains editors only remove trailing spaces from modified lines. Check it in your editor settings here Editor / General / On Save
But, for good, you need to fix these jambs in the code everywhere.
So maybe they really are there?
When saving changes to files, Storm removes extra tabs and spaces at the end of lines.
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question