Sublime Installing the Angularjs plugin

Source: Internet
Author: User
Tags sublime text

Sublime can support ANGULARJS development that's definitely a cool thing. Below I step by step how to install Angularjs plugin for sublime.

1. Add a Control pack site

Depending on how you install the sublime version, different code is written to the console:

Console Open method: View > Show Console or shortcut CTRL + '

sublime Text 3:

<pre name= "Code" class= "JavaScript" >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.pat H.join (IPP, PF), ' WB '). Write (by)


 
sublime Text 2:  

<pre name= "code" class= "HTML" >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 ' Restart Sublime Text to finish installation ')


2. Shortcut key ctrl+shift+p (Windows) or cmd+shift+p (OS X) Open the command line and select Install Package


Choose to install the ANGULARJS package:


If you are installing sublime2 also need to refer here: Click to open the link

Test the installation is successful

Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.

Sublime Installing the Angularjs plugin

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

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.