一、基礎用戶設置:
工具欄 Preferences – Settings-User 進入用戶設置二、設置代碼:
{
"bold_folder_labels": true,// 加粗字號
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",// 顏色主題
"debug": true,// 開啓debug功能
"font_size": 13,// 設置默認字號
"highlight_line": true,// 編輯的當前行高亮
"highlight_modified_tabs": true,
"ignored_packages":
[
"Vintage"
],
"previewonclick": false,
"save_on_focus_lost": true,// 窗口失焦立即保存文件
"scroll_past_end": true,
"show_full_path": true,
"spell_check": false,// 關閉檢測拼讀
"tab_size": 2,// 設置默認tab佔幾個空格位
"theme": "Default.sublime-theme",// 設置主題
"translate_tabs_to_spaces": true,// 把代碼tab對齊轉換爲空格對齊
"trim_trailing_white_space_on_save": true,// 自動移除行尾多餘的空格
"word_wrap": true,// 設置自動換行
"fade_fold_buttons": false,// 顯示行號右側的代碼閉合展開三角號
"draw_minimap_border": true,// 用於右側代碼預覽時給所在區域加上邊框
"ensure_newline_at_eof_on_save": true,// 文件末尾自動保留一個空行
}