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配置比較好的