Sublime text package control 설치하기

CODEDRAGON Development/IDE, Editor

반응형

 

 

 

Sublime text - Package Control설치를 위한 Python code 카피해 오기

홈페이지 접속

https://sublime.wbond.net/installation

   

2 or 3 버전 선택

   

버전에 맞는 내용 선택 후 카피

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')

   

Sublime >

ctrl + `

   

카피한 내용 붙여 넣기 >

Enter

   

설치 완료!

   

sublime 재실행

   

   

 

Install Package실행

ctrl + shift + p

   

Install Package 입력하여 서치 후 Enter 또는 클릭

   

Install Package가 실행되었고 설치하고자하는 plugin을 검색해서 Enter또는 클릭하여 설치하면 됩니다.

 

 

 

반응형