Dlise
시원한 냉장고
Dlise
전체 방문자
오늘
어제
  • 시원한 냉장고 (136)
    • Java (31)
      • Java (26)
      • Spring (5)
    • Algorithm & PS (25)
      • Algorithm (14)
      • Problem Solving (11)
    • Network (12)
    • Database (2)
    • Data Structure (4)
    • OOP & CleanCode (5)
    • Web (0)
    • Git (2)
    • AI (2)
    • Project (1)
      • Discord Bot (1)
    • Error (19)
    • Tools (5)
    • 수학 (5)
      • 확률과 통계(기초) (5)
    • 컴퓨터 구조 (3)
    • 활동 (20)
      • 행사 & 여행 (10)
      • 자격증 (4)
      • 회고 (6)
      • 기타 (0)

블로그 메뉴

  • 홈
  • 태그
  • 방명록

공지사항

인기 글

태그

  • 가장쉬운알고리즘책
  • 네트워크
  • CleanCode
  • spring security in action second edition
  • 통계학
  • 후위 표기법
  • 열혈강의자료구조
  • 중위 표기법
  • java
  • 백준

최근 댓글

최근 글

티스토리

hELLO · Designed By 정상우.
Dlise

시원한 냉장고

Error

Sublime Text - Package Control이 검색되지 않는 문제(MAC)

2025. 3. 11. 22:50

Sublime Text의 Pretty JSON을 사용하고 싶어서 Package Control을 다운로드하려는데, 여타 블로그 설명과 달리 검색해도 내용이 나오지 않는 문제가 있었다.

 

Reddit에 동일한 문제에 대한 글이 있었다.

https://www.reddit.com/r/SublimeText/comments/qsldsk/package_control_not_working_not_ignored_on_mac/?rdt=54048

 

From the SublimeText community on Reddit

Explore this post and more from the SublimeText community

www.reddit.com

 

 

해당 글의 댓글을 통해 문제를 해결할 수 있었다.

https://github.com/wbond/package_control/issues/1612

 

[ST3/4] Package Control not working on macOS · Issue #1612 · wbond/package_control

I tried instaling the Package Control via Command Palette and even manually but it was not working, after some debugging I found that the ctypes file for python3.3 are not being correctly loaded Th...

github.com

 

해결 방법

방법은 Console로 직접 Package Control을 다운로드하는 것이다.

Sublime text의 Console(View -> View Console)을 연 후, 아래 명령어를 복사, 붙여 넣기 하면 된다.

from urllib.request import urlretrieve;urlretrieve(url="https://github.com/wbond/package_control/releases/latest/download/Package.Control.sublime-package", filename=sublime.installed_packages_path() + '/Package Control.sublime-package')

 

이후 Sublime text를 다시 시작하면 정상적으로 검색 결과가 나온다.

 

 

단축키 설정

이제 pretty Json 형태로 빠르게 변환할 수 있도록 단축키를 설정해 보자.

 

1. Settings... -> Key Bindings를 선택한다.

 

2. 아래 코드를 이미지와 같이 작성한다.

command + shift + j를 단축키로 지정하겠다는 의미이다.

[
	{"keys": ["command+shift+j"], "command":"pretty_json"}
]

 

3. 사용법

아래와 같이 JSON 형태로 변환하고자 하는 내용을 드래그(or command + a) 한 후 command+shift+j를 누른다.

 

아래와 같이 pretty JSON 형태가 된다.

'Error' 카테고리의 다른 글

Typescript - This is not the tsc command you are looking for  (0) 2025.04.19
MySQL - column ' ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by  (3) 2025.02.27
Spring - 406 Not Acceptable 발생  (0) 2024.08.05
Spring - Swagger Response 정보가 보이지 않는 문제  (0) 2024.07.30
Spring - 'Failed to convert from type [java.lang.String] to type [java.util.Date] for value [ ]'  (3) 2024.05.05
    'Error' 카테고리의 다른 글
    • Typescript - This is not the tsc command you are looking for
    • MySQL - column ' ' which is not functionally dependent on columns in GROUP BY clause; this is incompatible with sql_mode=only_full_group_by
    • Spring - 406 Not Acceptable 발생
    • Spring - Swagger Response 정보가 보이지 않는 문제
    Dlise
    Dlise

    티스토리툴바