[ Sublime text3 ] Package Controller 설치 - 기본설치 프로그램 > editor

본문 바로가기

사이트 내 전체검색

editor

[ Sublime text3 ] Package Controller 설치 - 기본설치 프로그램

작성일 18-09-14 23:44

페이지 정보

작성자 웹지기 조회 5,187회 댓글 0건

본문

Sublime Text3의 추가 설정을 사용하고 싶다면 무조건 설치해야 하는 코어라고 보면 됨.
Package Controller 을 먼저 설치
단축키 Ctrl + ` 또는 메뉴 View > Show Console 클릭


하단에 콘솔이 열리면 링크의 코드를 복사하고 엔터
코드는 접속할 때마다 바뀜. 사이트 방문해서 코드를 복사해야 함.
설치확인은 메뉴 > Perferences > Package Control 이 있다면 정상

원문 사이트 내용
=================================================
INSTALLATION 

Simple

The simplest method of installation is through the Sublime Text console. The console is accessed via the  ctrl+`  shortcut or the  View  >  Show Console  menu. Once open, paste the appropriate Python code for your version of Sublime Text into the console.

SUBLIME TEXT 3 SUBLIME TEXT 2

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)

This code creates the Installed Packages folder for you (if necessary), and then downloads the Package Control.sublime-package into it. The download will be done over HTTP instead of HTTPS due to Python standard library limitations, however the file will be validated using SHA-256.

WARNING:  Please do not redistribute the install code via another website. It will change with every release. Instead, please link to this page.

Manual

If for some reason the console installation instructions do not work for you (such as having a proxy on your network), perform the following steps to manually install Package Control:

  1. Click the Preferences >  Browse Packages… menu
  2. Browse up a folder and then into the Installed Packages/ folder
  3. Download Package Control.sublime-package and copy it into the Installed Packages/ directory
  4. Restart Sublime Text
++++++++++++++++++++++++++++++++++++++++++++++++++

[이 게시물은 웹지기님에 의해 2019-03-15 15:37:59 knowledge에서 이동 됨]

추천0

비추천 0

댓글목록

등록된 댓글이 없습니다.

전체 53건 1 페이지

이미지 목록

게시물 검색
Copyright © 즐거운 코딩 생활 ( funyphp ). All rights reserved.
PC 버전으로 보기