安利一下我用过的一些sublime text 3工具、插件及配置

package control

packagecontrol.io

  • (sublime text 3)

    import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHandler()) ); by = urllib.request.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); print('Error validating download (got %s instead of %s), please try manual install' % (dh, h)) if dh != h else open(os.path.join( ipp, pf), 'wb' ).write(by)
  • (sublime text 2)

    import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); os.makedirs( ipp ) if not os.path.exists(ipp) else None; urllib2.install_opener( urllib2.build_opener( urllib2.ProxyHandler()) ); by = urllib2.urlopen( 'http://packagecontrol.io/' + pf.replace(' ', '%20')).read(); dh = hashlib.sha256(by).hexdigest(); open( os.path.join( ipp, pf), 'wb' ).write(by) if dh == h else None; print('Error validating download (got %s instead of %s), please try manual install' % (dh, h) if dh != h else 'Please restart Sublime Text to finish installation')

plugins

  • CodeFormatter

  • PHP Syntax Checker

  • SideBarEnhancements

  • SublimeLinter

  • FcitxInput (Ubuntu deskstop)

  • GoSublime

color scheme & theme

  • Seti_UI (Seti_orig)

  • Seti_UX

  • Solarized Color Scheme

  • Soda SolarizedDark

Preferences.sublime-settings - User

{
    "always_prompt_for_file_reload": false,
    "always_show_minimap_viewport": false,
    "animation_enabled": true,
    "atomic_save": false,
    "auto_close_tags": true,
    "auto_complete": true,
    "auto_complete_commit_on_tab": false,
    "auto_complete_cycle": false,
    "auto_complete_delay": 50,
    "auto_complete_selector": "meta.tag - punctuation.definition.tag.begin, source - comment - string.quoted.double.block - string.quoted.single.block - string.unquoted.heredoc",
    "auto_complete_size_limit": 4194304,
    "auto_complete_triggers":
    [
        {
            "characters": "<",
            "selector": "text.html"
        }
    ],
    "auto_complete_with_fields": false,
    "auto_find_in_selection": false,
    "auto_indent": true,
    "auto_match_enabled": true,
    "binary_file_patterns":
    [
        "*.jpg",
        "*.jpeg",
        "*.png",
        "*.gif",
        "*.ttf",
        "*.tga",
        "*.dds",
        "*.ico",
        "*.eot",
        "*.pdf",
        "*.swf",
        "*.jar",
        "*.zip"
    ],
    "bold_folder_labels": false,
    "caret_extra_bottom": 0,
    "caret_extra_top": 0,
    "caret_extra_width": 0,
    "caret_style": "smooth",
    "close_windows_when_empty": false,
    "color_scheme": "Packages/User/SublimeLinter/Solarized (Dark) (SL).tmTheme",
    "copy_with_empty_selection": true,
    "create_window_at_startup": true,
    "default_encoding": "UTF-8",
    "default_line_ending": "unix",
    "detect_indentation": true,
    "dictionary": "Packages/Language - English/en_US.dic",
    "drag_text": true,
    "draw_centered": false,
    "draw_indent_guides": true,
    "draw_minimap_border": false,
    "draw_white_space": "selection",
    "enable_hexadecimal_encoding": true,
    "enable_tab_scrolling": true,
    "ensure_newline_at_eof_on_save": false,
    "fade_fold_buttons": true,
    "fallback_encoding": "Western (Windows 1252)",
    "file_exclude_patterns":
    [
        "*.pyc",
        "*.pyo",
        "*.exe",
        "*.dll",
        "*.obj",
        "*.o",
        "*.a",
        "*.lib",
        "*.so",
        "*.dylib",
        "*.ncb",
        "*.sdf",
        "*.suo",
        "*.pdb",
        "*.idb",
        ".DS_Store",
        "*.class",
        "*.psd",
        "*.db",
        "*.sublime-workspace"
    ],
    "find_selected_text": true,
    "fold_buttons": true,
    "folder_exclude_patterns":
    [
        ".svn",
        ".git",
        ".hg",
        "CVS"
    ],
    "font_face": "Consolas",
    "font_options":
    [
    ],
    "font_size": 16,
    "gpu_window_buffer": "auto",
    "gutter": true,
    "highlight_line": false,
    "highlight_modified_tabs": false,
    "hot_exit": true,
    "ignored_packages":
    [
        "Vintage",
        "Wolf Theme"
    ],
    "indent_guide_options":
    [
        "draw_normal"
    ],
    "indent_subsequent_lines": true,
    "indent_to_bracket": false,
    "index_exclude_patterns":
    [
        "*.log"
    ],
    "index_files": true,
    "index_workers": 0,
    "line_numbers": true,
    "line_padding_bottom": 0,
    "line_padding_top": 0,
    "margin": 4,
    "match_brackets": true,
    "match_brackets_angle": false,
    "match_brackets_braces": true,
    "match_brackets_content": true,
    "match_brackets_square": true,
    "match_selection": true,
    "match_tags": true,
    "move_to_limit_on_up_down": false,
    "open_files_in_new_window": true,
    "overlay_scroll_bars": "system",
    "preview_on_click": true,
    "remember_full_screen": false,
    "rulers":
    [
        80,
        120
    ],
    "save_on_focus_lost": false,
    "scroll_past_end": true,
    "scroll_speed": 1.0,
    "shift_tab_unindent": false,
    "show_encoding": false,
    "show_full_path": true,
    "show_line_endings": false,
    "show_panel_on_build": true,
    "show_tab_close_buttons": true,
    "smart_indent": true,
    "spell_check": false,
    "spelling_selector": "markup.raw, source string.quoted - punctuation - meta.preprocessor.c.include, source comment - source comment.block.preprocessor, -(source, constant, keyword, storage, support, variable, markup.underline.link, meta.tag)",
    "tab_completion": true,
    "tab_size": 4,
    "theme": "Seti_orig.sublime-theme",
    "translate_tabs_to_spaces": true,
    "tree_animation_enabled": true,
    "trim_automatic_white_space": true,
    "trim_trailing_white_space_on_save": false,
    "use_simple_full_screen": false,
    "use_tab_stops": true,
    "word_separators": "./\\()\"'-:,.;<>~!@#$%^&*|+=[]{}`~?",
    "word_wrap": "auto",
    "wrap_width": 0
}

附上效果图

sublime text 3:

sublime text 3:

sublime text 3: