Sublime Text 3 기본설정 및 패키지확장

1. 패키지 컨트롤 설치

콘솔을 열고 (ctrl+`) 다음 구문을 복사하고 붙여 넣는다.
Sublime Text 2

import urllib2,os,hashlib; h = '6f4c264a24d933ce70df5dedcf1dcaee' + 'ebe013ee18cced0ef93d5f746d80ef60'; 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')

sublime text 2 를 닫고 다시 연다.

Sublime Text 3

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)

sublime text 3 를 닫고 다시 연다.

  

2. 추천 패키지 설치

커맨드 팔레트 (ctrl + shift + p) 를 열고, 패키지 컨트롤 인스톨을 실행 (입력창에 p c i 입력) 하고 패키지 리스트를 검색한 후 설치한다.

  • BracketHighlighter
  • CodeIgniter Utilities
  • Dayle Rees color schemes
  • Doc Blockr
  • Emmet
  • Goto Documentation
  • InputHelper
  • PhpDox
  • Quick File Creator
  • SFTP
  • SideBarEnhancements
  • SublimeBlockCursor
  • SublimeLinter
  • Terminal
  • VintageEx

 

3. sublime text 3 기본 사용자 설정

Preferences > Settings-user 를 열고Preferences.sublime-settings 파일에 다음 내용을 붙여 넣고 저장한다.

{
    "bold_folder_labels": true,
    "color_scheme": "Packages/User/SublimeLinter/Turnip (SL).tmTheme",
    "fade_fold_buttons": false,
    "font_face": "Letter Gothic Std",
    "font_size": 9,
    "highlight_line": true,
    "highlight_modified_tabs": true,
    "ignored_packages": [
        "Vintage"
    ],
    "line_padding_bottom": 2,
    "line_padding_top": 1,
    "save_on_focus_lost": true,
    "soda_classic_tabs": true,
    "soda_folder_icons": false,
    "tab_size": 2,
    "theme": "Soda Dark 3.sublime-theme",
    "trim_trailing_white_space_on_save": true,
    "word_wrap": true
}

  

댓글 남기기