Sublime Text Drupal Project Config
{
"folders":
[
{
"path": "PATH_TO_DRUPAL_INSTALLATION"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION",
"name": "Root"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/modules/devel",
"name": "Modules - Devel"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/modules/custom",
"name": "Modules - Custom"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/modules/contrib",
"name": "Modules - Contrib"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/modules/features",
"name": "Modules - Features"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/themes/NAME",
"name": "Theme - NAME"
},
{
"follow_symlinks": true,
"path": "PATH_TO_DRUPAL_INSTALLATION/sites/all/themes/omega",
"name": "Theme - Omega"
}
],
"settings" :
{
"tab_size" : 2,
"rulers": [80, 120],
"translate_tabs_to_spaces": true,
"use_tab_stops": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "UTF-8",
"default_line_ending": "unix",
"shift_tab_unindent": true,
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=[]{}`~?",
"phpcs" : {
"extensions_to_execute": ["php", "inc", "module", "install", "profile"],
"extensions_to_blacklist": ["Test.php"],
"phpcs_additional_args": {
"--standard": "Drupal"
},
"phpmd_run": true
}
}
}
Written by Claudio Beatrice
Related protips
Have a fresh tip? Share with Coderwall community!
Post
Post a tip
Best
#Sublime text
Authors
Sponsored by #native_company# — Learn More
#native_title#
#native_desc#