+5
Fertiggestellt
Project specific formatting
I switch between Rails dev, PHP Dev and javascript dev that each have different requirements for using tab spacing and converting tabs to spaces. Is their a way we can have Project Specific Formatting, extend basically the user preferences down to the project preference?
Antwort
0
Antwort
Fertiggestellt
Jon Skinner vor 13 Jahren
Added in build 2111 - see http://www.sublimetext.com/docs/2/projects.html
Antwort
Fertiggestellt
Added in build 2111 - see http://www.sublimetext.com/docs/2/projects.html
It's possible currently, just add this to your .sublime- project file:
"settings":
{
"tab_size": 2,
"translate_tabs_to_spaces": true
},
Unfortunately because of the config file processing order, it's not possible to override a Package setting here. I'm using PHP_CodeSniffer and I would like to use different standards for different projects, so I'm opening a new feature request :)
Customer support service by UserEcho