Archive

2013年8月24日 的Archive

Add Sublime Text 3 context menu to file browser on Windows 7

2013年8月24日 尚無評論

把 sublime text 3 加到檔案總管
的右鍵選單內
選檔案時可開啟 sublime text 3 編輯
選目錄時可開啟 sublime text 3 專案模式選擇檔案編輯

選擇目錄到專案

ref: http://blog.theiaian.com/2013/03/add-sublime-text-2-context-menu-to-file-browser-windows-7/


Add Sublime Text 3 context menu to file browser on Windows 7

Windows Registry Editor Version 5.00

; 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\\Sublime Text 3\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\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\\Sublime Text 3\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\Directory\Background\shell\sublime\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%V\""

; Notepadd++ like open with sublimeText3

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3]
@="Open with Sublime Text 3"
"Icon"="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\",0"

[HKEY_CLASSES_ROOT\*\shell\Open with Sublime Text 3\command]
@="\"C:\\Program Files\\Sublime Text 3\\sublime_text.exe\" \"%1\""
Categories: 軟體使用 Tags: ,