Sublime Forum

Detects PHP files like HTML5

#1

Hi

My Sublime Text2 detects my php files like HTML5 files and althought in my user setting the config is tab width spaces:2 and convert indetation to spaces = true, when I open some projects it open this files like HTML5 files and tab space:4.

Any help?

this is my setting-user:
{
“auto_complete”: true,
“close_windows_when_empty”: false,
“color_scheme”: “Packages/Solarized Color Scheme/Solarized (dark).tmTheme”,
“create_window_at_startup”: false,
“draw_indent_guides”: true,
“draw_white_space”: “selection”,
“fade_fold_buttons”: true,
“find_selected_text”: true,
“fold_buttons”: true,
“folder_exclude_patterns”:

	".svn",
	".git",
	".hg",
	"CVS",
	"_build",
	"dist",
	"build",
	"site"
],
"font_face": "Mensch",
"font_options":

	"directwrite"
],
"font_size": 12.0,
"highlight_active_indent_guide": true,
"highlight_line": true,
"highlight_modified_tabs": true,
"hot_exit": false,
"ignored_packages":

	"Vintage",
	"Goto-CSS-Declaration"
],
"line_numbers": true,
"match_brackets": true,
"match_brackets_angle": false,
"match_brackets_braces": true,
"match_brackets_content": true,
"match_brackets_square": true,
"remember_open_files": true,
"scroll_speed": 2.0,
"spell_check": false,
"tab_size": 2,
"theme": "Soda Light.sublime-theme",
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true,
"use_simple_full_screen": true,
"word_separators": "./\\()\"'-:,.;<>~!@#%^&*|+=]{}`~?"

}

0 Likes