I'm trying to install the babel plugin for Sublime Text 3. I followed the instruction here: https://packagecontrol.io/installation
I restarted Sublime Text and when I hit ctrl + shift + p and type 'package' I should see 'Package Control: Install Package'. But this is not appearing in the list.
What can I do? I have already removed 'package_control' from the 'ignored_packages' setting...
I also tried downloading the zip file from https://github.com/babel/babel-sublime
and placing in sublime-text-3/Installed Packages
. Still no joy
3 Answers
Answers 1
This is a common enough bug in sublime. Have you seen this issue in github?:
Package Control not showing in sublime 3
Commonly, removing package control from the ignored list would suffice, but from your case, it seems that package control is not installed properly. In that case, try to reinstall the package control and see the console for any error.
Answers 2
Try follow these steps:
- Go to the configuration folder by opening preferences menu and Browse Package.
- Rename whole configuration "Sublime Text 3" folder to "Sublime Text 3 - Backup".
- Uninstall Sublime text 3
- Install Sublime text 3 with this guide and run it without registering.. You may find Package Control now..
- Restore your old configuration on Sublime Text 3 - Backup if needed
Answers 3
Please follow the below process. Open Sublime and go to View->Show console
Then past the code in text box and enter.
import urllib.request,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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://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)
Reference Link: https://packagecontrol.io/installation
0 comments:
Post a Comment