zoukankan      html  css  js  c++  java
  • sublime text 前端插件安装

    Package Control安装

    打开sublime编辑器,ctrl + ` 打开安装PackageControl界面:

    sublime text3:

    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 text2:

    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')

    安装后Package Control之后,关闭sublime text3编辑器再重新打开,就可以安装一些相关的插件

    前端开发的一些相关的插件

    Emmet 

    Emmet快捷开发速查表:

    http://docs.emmet.io/cheat-sheet/

    HTML-CSS-JS Prettify    html/css/js语法提示

    CSScomb

    ColorPicker

    Autoprefixer 浏览器前缀补全

    LiveStyle css实时更新插件

     

    解决sublime Text3 package control 出现There are no packages available for installation

    刚出现这个问题,不知什么鬼,去找了度娘,结果网上众说纷纭,按照上面说的并没有解决,然后我就把package Control重新安装了一下,啊哈哈,结果问题解决了

  • 相关阅读:
    leetcode 105. 从前序与中序遍历序列构造二叉树
    leetcode 96. 不同的二叉搜索树
    leetcode 21. 合并两个有序链表
    leetcode 617. 合并二叉树
    leetcode 101. 对称二叉树
    欧拉定理和扩展欧拉定理。
    [NOI2018] 屠龙勇士
    [SDOI2010]古代猪文
    [SDOI2013]方程
    扩展Lucas定理
  • 原文地址:https://www.cnblogs.com/goddess/p/8251517.html
Copyright © 2011-2022 走看看