配置文件
Sublime Text 的一个优点就是它的所有配置都是简单的基于 JSON 的配置文件。这使得你可以很容易的将配置转到另一个系统中。我也见过一些人使用 Dropbox 自动同步他们所有电脑上的配置。
Preferences.sublime-settings 配置了 Sublimede 的显示和行为.你可以在sublime 中通过 Preferences > Settings — User 打开并编辑此文件。我使用如下配置:
03 |
"color_scheme": "Packages/Tomorrow Color Schemes/Tomorrow-Night.tmTheme",
|
04 |
"theme": "Soda Dark.sublime-theme",
|
07 |
"font_face": "Ubuntu Mono",
|
09 |
"font_options": ["subpixel_antialias", "no_bold"],
|
10 |
"line_padding_bottom": 0,
|
11 |
"line_padding_top": 0,
|
14 |
"caret_style": "solid",
|
18 |
"draw_white_space": "all",
|
19 |
"fold_buttons": false,
|
20 |
"highlight_line": true,
|
21 |
"auto_complete": false,
|
22 |
"show_minimap": false,
|
25 |
"scroll_past_end": false,
|
26 |
"highlight_modified_tabs": true,
|
27 |
"find_selected_text": true,
|
36 |
"translate_tabs_to_spaces": true,
|
37 |
"trim_trailing_white_space_on_save": true,
|
38 |
"ensure_newline_at_eof_on_save": true,
|
41 |
"file_exclude_patterns":
|
47 |
"folder_exclude_patterns":
|
Pylinter.sublime-settings配置了pylinter 插件。我使用下面的配置让 Pyhton 在保存时自动规范,并对违反规范显示图标。
03 |
"pylint_rc": "/Users/daniel/dev/pylintrc",
|
|
顶 翻译的不错哦!
|