본문 바로가기
Editor

Sublime Text (서브라임텍스트) 윈도우 탐색기 Context menu 생성 아이콘 추가

by @hohoya33 2014년 10월 22일

윈도우7 64비트 기준

 

Program Files (x86)

이부분은 자신의 서브라임텍스트에 맞는 경로로 변경후에

아래 텍스트를 저장 후 확장자를 reg로 변경후 더블클릭 해서 추가

Windows Registry Editor Version 5.00

 

; Open files

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2]

@="Edit with Sublime Text 2"

"Icon"="C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe,0"

 

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 2\command]

@="\"C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe\" \"%1\""

 

; This will make it appear when you right click ON a folder

; The "Icon" line can be removed if you don't want the icon to appear

 

[HKEY_CLASSES_ROOT\Directory\shell\sublime]

@="Open Folder as Sublime Project"

"Icon"="\"C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe\",0"

 

[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]

@="\"C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe\" \"%1\""

 

 

; This will make it appear when you right click INSIDE a folder

; The "Icon" line can be removed if you don't want the icon to appear

 

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime]

@="Open Folder as Sublime Project"

"Icon"="\"C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe\",0"

 

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]

@="\"C:\\Program Files (x86)\\Sublime Text 2\\sublime_text.exe\" \"%V\""

 

 

 

 

개의 댓글