Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Sublime 外掛安裝教學

958 views

Published on

Sublime 外掛安裝教學-實作HTML-CSS-JS Prettify安裝

Published in: Education
  • Be the first to comment

Sublime 外掛安裝教學

  1. 1. Sublime 外掛安裝教學 Sharpay
  2. 2. 步驟一:安裝Package Control • 【ctrl+` 】 或【 View > Show Console】 • 貼上代碼 (SUBLIME TEXT3) import urllib.request,os,hashlib; h = '2915d1851351e5ee549c20394736b442' + '8bc59f460fa1548d1514676163dafc88'; pf = 'Package Control.sublime-package'; ipp = sublime.installed_packages_path(); urllib.request.install_opener( urllib.request.build_opener( urllib.request.ProxyHan dler()) ); 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) 方法一:簡易安裝
  3. 3. 步驟一:安裝Package Control • 【Preferences】 > 【 Browse Packages】 • 下載 Package Control.sublime-package 放進 【Installed Packages】資料夾 • 重新啟動SUBLIME 方法二:手動安裝
  4. 4. Package Control安裝成功
  5. 5. 步驟二:安裝外掛 • 【Preferences】>【 Package Control】 • 輸入「Install Package」再按Enter
  6. 6. 實作安裝HTML-CSS-JS Prettify • 下載【HTML-CSS-JS Prettify】安裝包 • 放進【Packages】資料夾 • 重新啟動SUBLIME • 按下【 Ctrl+Shift+P 】 再輸入 HTMLPrettify 找到後按下 Enter
  7. 7. 使用HTML-CSS-JS Prettify需安裝 Node.js
  8. 8. 參考網站 • https://packagecontrol.io/installation • http://www.minwt.com/webdesign- dev/html/11729.html • http://blog.miniasp.com/post/2014/01/06/U seful-tool-Sublime-Text-3-Quick-Start.aspx

×