First, the package Control installation method
Click View > Show Console to enter the following code and restart sublime:
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, the package control method of installing plug-ins
- Press Ctrl+shift+p to bring up the command panel
- Enter install to bring up the Install Package option and enter, then select the plug-in you want to install in the list.
Third, I use the plug-in and configuration
Configuration:
{
"always_show_minimap_viewport": false,
"auto_complete_commit_on_tab": false,
"auto_find_in_selection": true,
"bold_folder_labels": true,
"color_scheme": "Packages/Color Scheme - Default/Monokai.tmTheme",
"default_line_ending": "unix",
"detect_indentation": false,
"detect_slow_plugins": false,
"drag_text": false,
"draw_white_space": "selection",
"ensure_newline_at_eof_on_save": true,
"fallback_encoding": "UTF-8",
"font_size": 13,
"highlight_line": true,
"highlight_modified_tabs": true,
"ignored_packages":
[
"SublimeCodeIntel",
"Vintage",
"Vintageous"
],
"indent_guide_options":
[
"draw_active",
"draw_normal"
],
"indent_to_bracket": true,
"line_padding_bottom": 1,
"line_padding_top": 1,
"preview_on_click": false,
"rulers":
[
80
],
"scroll_past_end": true,
"shift_tab_unindent": true,
"show_encoding": true,
"tab_size": 4,
"translate_tabs_to_spaces": true,
"trim_automatic_white_space": true,
"trim_trailing_white_space_on_save": true,
"word_wrap": true,
"wrap_width": 80
}
Plugin: Sublimerepl,sublimecodeintel
Sublime Text 3 User's Manual