操作步骤与 将VSCode添加到鼠标右键菜单 基本一样,多多看看这个教程基本上就可以操作成功了。但是要注意修改好打开名称,也就是将"Open with code"修改为"Open with Sublime Text",下方文件我已经改好了,只需要修改路径即可。
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\*\shell\SublimeText]
@="Open with Sublime Text"
"Icon"="D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe"
[HKEY_CLASSES_ROOT\*\shell\SublimeText\command]
@="\"D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe\" \"%1\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\shell\SublimeText]
@="Open with Sublime Text"
"Icon"="D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe"
[HKEY_CLASSES_ROOT\Directory\shell\SublimeText\command]
@="\"D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe\" \"%V\""
Windows Registry Editor Version 5.00
[HKEY_CLASSES_ROOT\Directory\Background\shell\SublimeText]
@="Open with Sublime Text"
"Icon"="D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe"
[HKEY_CLASSES_ROOT\Directory\Background\shell\SublimeText\command]
@="\"D:\\mySoftwareAndGames\\software\\software\\sublime Text\\sublime_text.exe\" \"%V\""
完成