Skip to the content.

Sublime Text

相关链接

插件

HTML/CSS

Javascript

Javascript Beautify 用法及配置 ``` json { "indent_size": 4, "indent_char": " ", "indent_level": 0, "indent_with_tabs": false, "preserve_newlines": true, "max_preserve_newlines": 10, "jslint_happy": false, "brace_style": "collapse", "keep_array_indentation": false, "keep_function_indentation": false, "space_before_conditional": true, "break_chained_methods": false, "eval_code": false, "unescape_strings": false, "wrap_line_length": 0, // jsbeautify options "format_on_save": true } ```

PHP

phpfmt 用法及配置 ``` json { "autocomplete": true, "enable_auto_align": true, "format_on_save": true, "indent_with_space": true, "php_bin": "D:/yzm/phpStudy/PHPTutorial/php/php-7.0.12-nts/php.exe", "psr1_naming": false, "psr2": true, "version": 4 } ```

SublimeLinter

其他插件

配置

sublime2

{
	"bold_folder_labels": true,
	"color_scheme": "Packages/User/monokai-extended/Monokai Extended.tmTheme",
	"drag_text": false,
	"ensure_newline_at_eof_on_save": true,
	"font_face": "Source Code Pro",
	"font_size": 13.0,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"hot_exit": false,
	"ignored_packages":
	[
	],
	"remember_open_files": false,
	"rulers":
	[
		80
	],
	"scroll_past_end": true,
	"tab_size": 4,
	"translate_tabs_to_spaces": true,
	"use_tab_stops": true,
	"vintage_start_in_command_mode": false,
	"vintage_use_clipboard": true,
	"word_wrap": true
}

subloime3

{
	"always_show_minimap_viewport": true,
	"bold_folder_labels": true,
	"color_scheme": "Packages/User/monokai-extended/Monokai Extended.tmTheme",
	"drag_text": false,
	"ensure_newline_at_eof_on_save": true,
	"font_face": "Source Code Pro",
	"font_size": 13.0,
	"highlight_line": true,
	"highlight_modified_tabs": true,
	"hot_exit": false,
	"ignored_packages":
	[
	],
	"rulers":
	[
		80,
		100
	],
	"scroll_past_end": true,
	"show_definitions": false,
	"tab_size": 4,
	"translate_tabs_to_spaces": true,
	"use_tab_stops": true,
	"vintage_start_in_command_mode": false,
	"vintage_use_clipboard": true,
	"word_wrap": true
}

sublime3(废弃)

{
	"auto_complete_commit_on_tab": true,
	"auto_complete_delay": 0,
	"auto_complete_with_fields": true,
	"color_scheme": "Packages/Color Scheme - Default/Monokai.sublime-color-scheme",
	"create_window_at_startup": false,
	"ensure_newline_at_eof_on_save": true,
	"font_face": "Input Sans Narrow",
	"font_size": 13,
	"highlight_line": true,
	"ignored_packages":
	[
		"CSS",
		"Vintage"
	],
	"indent_guide_options":
	[
		"draw_normal",
		"draw_active"
	],
	"indent_to_bracket": true,
	"rulers":
	[
		80
	],
	"tab_size": 4,
	"theme": "Default.sublime-theme",
	"translate_tabs_to_spaces": true,
	"trim_trailing_white_space_on_save": true,
	"word_wrap": true
}

快捷键

多行快速选择文本

行操作

注释

缩进

代码块

编辑

查找

窗口

高级