The environment configuration of sublime editing project for quick learning

Source: Internet
Author: User

First download the quick installation, then download the sublime installation, then sublime View-->show console to enter the corresponding version of this link, https://sublime.wbond.net/installation#st2


Sublime text 3 Sublime text 2      

               import urllib.request,os,hashlib; h = ' 7 183a2d3e96f11eeadd761d777e62404 ' + ' 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://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.pat H.join (IPP, PF), ' WB '). Write (by)                    

               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://packagecontrol.io/‘ + 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‘)

does not correspond to the error,



650) this.width=650; "title=" QQ picture 20141215183959.jpg "Src=" http://s3.51cto.com/wyfs02/M02/56/FD/ Wkiom1soupirpt6aaajrqvo_mks143.jpg "alt=" Wkiom1soupirpt6aaajrqvo_mks143.jpg "/>

Then run with player, error player no exists, can be solved by the following scheme

----------------------------------------------------------------------------------------

, "Player not exist", a simple look at the 2.2.3 frame structure, compared to the 2.2.1 version, found that in the new version of the player's path has been adjusted.
Player/mac/quick-x-player.app/contents/macos/quick-x-player
Continue to solve the problem, error, then adjust the path of the player can be, the problem is where to debug, because the development of the tool used is a plug-in sublime. OK, here's the solution:
Terminal to enter: "
"C:\Users\Fire\AppData\Roaming\Sublime Text 2\packages\quickxdev"

quickx.py
Find this location down path adjustment is possible.
playerpath=quick_cocos2dx_root+ "/player/win/quick-x-player.exe"

This article is from the "7112819" blog, please be sure to keep this source http://7122819.blog.51cto.com/7112819/1590203

The environment configuration of sublime editing project for quick learning

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.