https://www.sublimetext.com/javascript
Preferences->最下面Package Control是否有?php
若是没有:css
一、Preferences->Browse Packageshtml
二、返回上一级目录,查找并进入 installed packagejava
三、下载Package Control.sublime-package,并复制到installed package目录里,而后重启sublimepython
主题分两块linux
color Scheme 和 themec++
推荐主题:git
https://github.com/itsthatguy/theme-itg-flat //内含安装说明,利用 Package Control 安装github
Preferences->Setting-User->使用下面覆盖便可。 //Setting-Default是默认配置,不能改动
{ "color_scheme": "Packages/Theme - itg.flat/itg.dark.tmTheme", "itg_small_tabs": true, "itg_sidebar_tree_medium": true, "font_size": 17, "highlight_line": true, "ignored_packages": [ "Vintage" ], "line_padding_bottom": 2, "line_padding_top": 2, "open_files_in_new_window": false, "show_encoding": true, "tab_size": 4, "theme": "itg.flat.light.orange.sublime-theme" }
5、安装经常使用插件
ConvertToUTF8 : 安装很简单
SublimeLinter + SublimeLinter-php:要安装两个插件,若是要检测c、c++、js、css之类,还须要再安装其余的。
SublimeLinter配置以下:
{ "user": { "debug": false, "delay": 0.25, "error_color": "D02000", "gutter_theme": "Packages/SublimeLinter/gutter-themes/Default/Default.gutter-theme", "gutter_theme_excludes": [], "lint_mode": "save-only",//若是模式换成background,会不停的检测,同时下面的show_errors_on_save要设置为false "linters": { "php": { "@disable": false, "args": [], "excludes": [] } }, "mark_style": "outline", "no_column_highlights_line": false, "passive_warnings": false, "paths": { "linux": [], "osx": [], "windows": [] }, "php_paths": { //这段要本身添加 "linux": [], "osx": [ "/usr/local/bin/php" //必须双引号 ], "windows": [] //windows下注意转义 "C:\\wamp\\bin\\php\\php5.5.12\\php" }, "python_paths": { "linux": [], "osx": [], "windows": [] }, "rc_search_limit": 3, "shell_timeout": 10, "show_errors_on_save": true, "show_marks_in_minimap": true, "syntax_map": { "html (django)": "html", "html (rails)": "html", "html 5": "html", "javascript (babel)": "javascript", "magicpython": "python", "php": "html", "python django": "python", "pythonimproved": "python" }, "warning_color": "DDB700", "wrap_find": true } }
相关连接:
http://colorsublime.com/?q=iTg //一个专门作sublime主题下载的网站
http://www.imooc.com/article/1356 //讲解sublime配置比较好的