Sublime Text 3 插件


1. Ready

Package Control

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)

The console is accessed via the ctrl+ shortcut or the View > Show Console menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.

2. Install

Use Ctrl+Shift+P open the Package Control, input install and choose Install Package.

  • BracketHighlighter

    用于匹配括号,引号和html标签。

  • Emmet

    D快速生成HTML代码段的插件。

  • SideBar Enhancements

    这个插件改进了侧边栏,增加了许多功能。

  • Themr

    主题管理,切换主题的时候,不用自己修改配置文件了,用这个可以方便的切换主题。

  • JsFormat

    JS格式化(Ctrl+Alt+F)。

  • Alignment

    等号对齐(Ctrl+Alt+A)。

  • CSScomb

    CSS属性排序(Ctrl+Shift+c)。

  • ColorPicker

    调色盘。

  • TrailingSpaces

    能高亮显示多余的空格和Tab。

  • Terminal

    呼出命令行窗口(Ctrl+Shift+T)。

  • chineseLocalizations

    汉化UI。

  • Autoprefixer

    CSS3私有前缀自动补全插件。

  • AutoFileName

    自动补全文件名。

3.sublime设置

  • 设置tab键为空格
"tab_size": 4,
"translate_tabs_to_spaces": true

最后更新: 2018年2月12日16:56:56

原文地址:https://www.cnblogs.com/jehorn/p/8022433.html