sublime text3安裝angularjs外掛程式

來源:互聯網
上載者:User

標籤:show   github   alt   join   ctr   lease   sso   water   start   

sublime能夠支援AngularJS開發那絕對是一件很爽的事情。下面我一步步講解如何為sublime安裝AngularJS外掛程式。

首先提供一個破解版的sublime text 3的:http://pan.baidu.com/s/1gdzjBs3

另外,你要自己去進行Sublime text 3 中Package Control 的安裝。具體的安裝步驟如下:

首先下載Package Control 主檔案下載:https://github.com/wbond/package_control 

其託管在github 上,下載直接按 zip 那個按鈕。解壓之後,把檔案夾名稱修改為"Package Control"(一定注意大小寫)

然後:

1、點擊菜單中preferences->Browse Packages...,開啟一個檔案夾,複製剛才的"Package Control"檔案夾到該目錄下面;

2、開啟sublime text 3編輯器,在菜單preferences->Package Settings中看到有Package Control選項,就說明安裝Package Control成功了。

 

下面是AngularJS控制項的安裝方法。

1、添加控制包網站根據你安裝sublime 版本不同,在控制台寫入不同的代碼 :控制台開啟方法:View > Show Console 或者 快速鍵 ctrl+`   Sublime Text 3:[plain] view plain copy  
  1. 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)  

Sublime Text 2:[plain] view plain copy  
  1. import urllib2,os,hashlib; h = ‘7183a2d3e96f11eeadd761d777e62404‘ + ‘e330c659d4bb41d3bdf022e94cab3cd0‘; 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://sublime.wbond.net/‘ + 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‘)  

2、快速鍵 ctrl+shift+p (Windows) or cmd+shift+p (OS X) 開啟命令列並選擇安裝包                   選擇安裝AngularJS包:            如果你安裝的是sublime2   還需要參考這裡:點擊開啟連結
重啟Sublime Text 3,測試下安裝是否成功了 :證據1:證據2: 
頂
3
踩

sublime text3安裝angularjs外掛程式

聯繫我們

該頁面正文內容均來源於網絡整理,並不代表阿里雲官方的觀點,該頁面所提到的產品和服務也與阿里云無關,如果該頁面內容對您造成了困擾,歡迎寫郵件給我們,收到郵件我們將在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.