Sublime Text configuration

Sublime Text: has a code highlighting, syntax tips, auto-complete and rapid response editing software, not only has a gorgeous interface, also supports plug-ins extension mechanism, used her to write code, is a real pleasure.

First, the installation package control

Press Ctrl + `to bring up the console

      
      
1
      
      
import urllib.request,os; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); open(os.path.join(ipp, pf), 'wb'). write(urllib.request.urlopen( 'http://sublime.wbond.net/' + pf.replace( ' ', '%20')). read())

Second, modify personal profiles

font size

      
      
1
2
      
      
"font_size": 17

Highlighting editor of the line

      
      
1
2
      
      
"highlight_line": true

Focus automatically saved after loss

      
      
1
2
      
      
"save_on_focus_lost": true

Coded display of the current file

      
      
1
2
      
      
"show_encoding": true

Save the time to get rid of unused spaces

      
      
1
2
      
      
"trim_trailing_white_space_on_save": true

Tab Conversion

      
      
1
2
3
      
      
"tab_size": 2 ,
"translate_tabs_to_spaces": true

Wrap

      
      
1
2
      
      
"word_wrap": false

The width of the guide wire

      
      
1
2
      
      
"rulers": [80]

Spell Check

      
      
1
2
      
      
"spell_check": false

Not to roll over the head

      
      
1
2
      
      
"scroll_past_end": true

Bold folder names

      
      
1
2
      
      
"bold_folder_labels": true

Displays the full path

      
      
1
2
      
      
"show_full_path": true

The user settings

      
      
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
      
      
{
"font_size": 17,
"highlight_line": true,
"show_full_path": true,
"ignored_packages":
[
"Vintage"
],
"rulers":
[
80
],
"bold_folder_labels": true,
"save_on_focus_lost": true,
"scroll_past_end": true,
"show_encoding": true,
"show_line_endings": true,
"tab_size": 2,
"translate_tabs_to_spaces": true,
"trim_trailing_white_space_on_save": true
}

Third, a variety of plug-ins recommended

1、Emmet

2、Color Highlighter&&Color Picker

3、Prettify

4、ConvertToUTF8

5、SublimeTmpl

6, sublimeLinter

7、Sublime CodeIntel

8、git

9, GitGutter

10、Terminal

Original: Big Box  Sublime Text configuration


Guess you like

Origin www.cnblogs.com/peterchan1/p/11641297.html