본문 바로가기

나의 IT

sublime text 자동완성 for mac

1. sublime package installer 설치

ctrl + ` 

을 눌러서 콘솔모드 진입

 

2. COPY AND PASTE

import urllib2,os; 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())); open(os.path.join(ipp,pf),'wb').write(urllib2.urlopen('http://sublime.wbond.net/'+pf.replace(' ','%20')).read()); print('Please restart Sublime Text to finish installation')

3. Package installer 실행

shift + command + p 를 눌러 installer 활성화

1.png

 

4. install autocompletion

Install Package를 실행 시킨후 python autocompletion 을 찾아서 설치

(패키지명은 Python Auto-Complete 이다)



그 외 sftp로 파일을 바로 업로드 할 수 있는 SFTP, CSS 색상을 바로 확인해 볼 수 있는 Live css 등등

sublime text의 다양한 addons를 설치할 수 있다.




Technorati Tags: , , , ,