Search code examples
phpstormauto-indent

How do I get phpstorm to indent consistent with existing file indentation


I use tabs for indentation but the shop I work for uses four spaces, two spaces and tabs inconsistently (but consistently within each file) Is there a way to get phpstorm to indent per the existing code?


Solution

  • Nope. Currently PhpStorm supports single code style for the whole project.

    You may be interested in these tickets (to vote/watch/etc):