sublime安裝 和 外掛程式安裝,sublime安裝外掛程式

來源:互聯網
上載者:User

sublime安裝 和 外掛程式安裝,sublime安裝外掛程式

先從官網下載sublime   https://www.sublimetext.com/3

 

安裝完畢後  

快速鍵ctrl+` 或者View->Show Console,輸入如下代碼(sublime text3)

import urllib.request,os,hashlib; h = '7183a2d3e96f11eeadd761d777e62404' + 'e330c659d4bb41d3bdf022e94cab3cd0'; 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://sublime.wbond.net/' + 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)

或者下面的代碼

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

然後重啟sublime text3,觀察Preferences菜單最下邊是否有Package Settings 和Package Control兩個選項,如果有,則代表安裝成功了。

此時使用快速鍵Ctrl+Shift+P,輸入install,選擇install package

  ConvertToUTF8:解決檔案編碼轉換的問題

  Emmet:快速編寫html、css、js的神級外掛程式

  SideBarEnhancements:增強側邊條  個人比較喜歡的外掛程式,很好用的是在建立檔案的時候可以直接取名字,預設內建的是沒有這個功能的,要儲存後才能命名

  BracketHighLighter:括弧高亮顯示

  ColorPicke:顏色選取器

  HTMLBeautify:HTML格式化外掛程式

  AllAutoComplete:自動提示

  IMESupport:IME支援外掛程式

  Material Theme:非常推薦的主題

 

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在5個工作日內處理。

如果您發現本社區中有涉嫌抄襲的內容,歡迎發送郵件至: info-contact@alibabacloud.com 進行舉報並提供相關證據,工作人員會在 5 個工作天內聯絡您,一經查實,本站將立刻刪除涉嫌侵權內容。

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.