Mac Pro 安裝 Sublime Text 3,個性化設置,主題 和 插件 收藏


1、到官網下載安裝包

http://www.sublimetext.com/3

2、附注冊碼一枚

Sublime Text 3 3126

—– BEGIN LICENSE —–
Alexey Plutalov
Single User License
EA7E-860776
3DC19CC1 134CDF23 504DC871 2DE5CE55
585DC8A6 253BB0D9 637C87A2 D8D0BA85
AAE574AD BA7D6DA9 2B9773F2 324C5DEF
17830A4E FBCF9D1D 182406E9 F883EA87
E585BBA1 2538C270 E2E857C2 194283CA
7234FF9E D0392F93 1D16E021 F1914917
63909E12 203C0169 3F08FFC8 86D06EA8
73DDAEF0 AC559F30 A6A67947 B60104C6
—— END LICENSE ——

3、主題

Soda Theme,安裝方法:http://buymeasoda.github.io/soda-theme/

另外,作者還提供了一套 Color Scheme,即 Syntax highlighting colour schemes,下載地址

4、個性化設置

1) 解決 sublime text 總是在新窗口中打開文件的問題,在 Preferences -> Settings –> User 中增加參數

"open_files_in_new_window": false

2) 自動保存,在 Preferences -> Settings –> User 中增加參數

"save_on_focus_lost": true,
"atomic_save": true,

3) 保存時去掉行末空格,在 Preferences -> Settings –> User 中增加參數

"trim_trailing_white_space_on_save": true

4) 顯示 空格、Tab字符

"draw_white_space": "all"

用戶設置 備份如下:

{
    "color_scheme": "Packages/User/Espresso Soda.tmTheme",
    "soda_classic_tabs": true,
    "theme": "Soda Light 3.sublime-theme",

    "font_face": "YaHei Consolas Hybrid",
    "font_size": 14,
    "open_files_in_new_window": false,
    "save_on_focus_lost": true,
    "atomic_save": true,
    "trim_trailing_white_space_on_save": true,
    "draw_white_space": "all",
    "auto_close_tags": true,
    "tab_size": 4,
    "translate_tabs_to_spaces": true,
    "update_check": false
}

5) 如何隱藏右邊的 預覽欄 ?

View -> Hide MiniMap

6) 修改快捷鍵

在 Preferences -> Key Bindings -> 填入內容

// 按住 “control + alt + 向下鍵” 復制單行

[
	{ "keys": ["control+alt+down"], "command": "duplicate_line" }
]


免責聲明!

本站轉載的文章為個人學習借鑒使用,本站對版權不負任何法律責任。如果侵犯了您的隱私權益,請聯系本站郵箱yoyou2525@163.com刪除。



 
粵ICP備18138465號   © 2018-2025 CODEPRJ.COM