How to get 4-space tab indents to save as spaces but behave like tabs while editing?

I'm not sure I've seen this setting in PHPStorm, but it seems to me it would end the tabs vs spaces war.

Yes I'm aware of settings > Editor > Code Style > Use Tab Character. That just adds 4 spaces per tab, requiring more arrow-key taps and mouse clicks for accuracy.

I want the indents (no matter how many spaces) to act like tabs (but save as spaces) if I have that option set (or there should be an extra option).

1 comment

This is not supported unfortunately. You can submit this to our tracker at http://youtrack.jetbrains.com/issues/IDEA#newissue=yes although I think I saw a similar request but I can't find it now.

 

2

Please sign in to leave a comment.