php - PHPStorm: Set Number of Spaces per Tab by Directory? -


the coding standards @ current company requires 2 spaces per tab php code (drupal 6). i'm in process of adding autoloading (psr-4) can start using classes , oop. new namespace points classes/src directory wish psr-2 compliant. developers here use phpstorm. there way set phpstorm use 4 spaces classes/src directory (and subdirectories) , 2 spaces rest of project?

i'd avoid having developers hit tab twice effect of 4 spaces. i'd avoid converting rest of codebase 4 spaces mess our git history , have name plastered everywhere.

i use sublime text 3 , possible directory settings package.

no, there no way - current platform implementation not allow storing code style settings per scope or per file/directory. please follow idea-69685 updates


Comments

Popular posts from this blog

How has firefox/gecko HTML+CSS rendering changed in version 38? -

android - CollapsingToolbarLayout: position the ExpandedText programmatically -

Listeners to visualise results of load test in JMeter -