window -- sublime text 3 配置


我的每一个动作都有你的印记


下载

https://www.sublimetext.com/3


安装 package control

代码地址:https://packagecontrol.io/installation

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 终端执行:via the ctrl+` shortcut or the View > Show Console menu


插件安装

安装

preferences --> package control -- install package

列表

  • a file icon
  • Emmet
  • GitGutter
  • Material Theme
  • Side Bar
  • Anaconda
  • CovertToUTF8
  • Terminal
  • DocBlockr Python

个人配置

{
    "color_scheme": "Packages/Material Theme/schemes/Material-Theme-Darker.tmTheme",
    "default_browser": "chrome",
    "ensure_newline_at_eof_on_save": true,
    "font_face": "Monaco",
    "font_size": 12,
    "highlight_line": false,
    "ignored_packages":
    [
        "Vintage",
        "Markdown"
    ],
    "install_prereleases":
    [
        "SublimeCodeIntel"
    ],

        // material theme
    "material_theme_arrow_folders": true,
    "material_theme_compact_sidebar": true,
    "material_theme_panel_separator": true,
    "material_theme_small_statusbar": true,
    "material_theme_small_tab": true,
    "statusbar_file_size": true,
    "theme": "Material-Theme-Darker.sublime-theme",

        // sidebar
    "translate_tabs_to_spaces": true,
    "use_powershell": false,

        // anaconda
        "auto_formatting": true
}