Install AngularJS plug-in for sublime text and sublimeangularjs
It is absolutely amazing that sublime can support AngularJS development. Next I will explain how to install AngularJS plug-in for sublime step by step.
First provide a cracked version of sublime text 3: http://pan.baidu.com/s/1gdzjBs3
In addition, you must install Package Control in Sublime text 3. The installation steps are as follows:
First download Package Control main file download: https://github.com/wbond/package_control
It is hosted on github. Download and press the zip button directly. After decompression, change the folder name to "Package Control" (case sensitive)
Then:
1. Click preferences-> Browse Packages... in the menu to open a folder and copy the "Package Control" folder to the directory;
2. Open the sublime text 3 editor and choose preferences> Package Settings. The Package Control option is displayed, indicating that the Package Control is successfully installed.
The following describes how to install AngularJS controls.
1. Add a control package site to write different codes on the console based on the version of sublime you have installed:
How to open the Console: View> Show Console or press ctrl +'
Sublime Text 3:
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:
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. Press ctrl + shift + p (Windows) or cmd + shift + p (OS X) to open the command line and select the installation package
Select to install the AngularJS package:
If you have installed sublime2, you also need to refer to here: Click to open the link
Restart Sublime Text 3 and test whether the installation is successful:
Evidence 1: Evidence 2: