맥에서 기본 프로그램 지정이 안되서 빡치신 분들을 위한 정보입니다.
이자하

Lv.1 이자하 (211.♡.153.31)

2026년 2월 9일 PM 04:03 · 수정됨(02. 10. 00:45)

조회 1,167 공감 0

저는 vscode를 기본으로 쓰고 있는데 cursor나 antigravity를 설치하면 지들 마음대로 파일 연결을 바꿔 버립니다.

그런데 기본 프로그램 바꿨는데도 안바뀌고 파일 마다 다르고 그럴 때마다 울화통이 터집니다.

심지어 보안때문에 열수 없으니 휴지통에 넣어라 까지 뜹니다.


brew install duti


하십시오 


duti -s com.microsoft.VSCode .json all

duti -s com.microsoft.VSCode .md all

duti -s com.microsoft.VSCode .txt all

duti -s com.microsoft.VSCode .js all

duti -s com.microsoft.VSCode .ts all

duti -s com.microsoft.VSCode .py all

duti -s com.microsoft.VSCode .yaml all

duti -s com.microsoft.VSCode .yml all

duti -s com.microsoft.VSCode .xml all


하면 됩니다.

com.microsoft.VSCode 같은 앱의 번들ID를 확인하려면 다음을 실행하면 됩니다.

osascript -e 'id of app "Visual Studio Code"'

댓글 (3)

  • Java

    Java Lv.1

    02.09 · 116.♡.70.94

    고맙습니다!
  • seongwon

    seongwon Lv.1

    02.10 · 14.♡.83.23

    감사합니다👍
  • S

    s0wnd Lv.1

    02.10 · 219.♡.135.185

    붸리굿!

댓글을 작성하려면 이 필요합니다.