1.在Sublime Text 3的根目录, 新建一个文本文档,然后更名为add_right_menu.inf(包含后缀),文本的编码格式请设置ANSI
2.文件内容补充
[Version] Signature="$Windows NT$" [DefaultInstall] AddReg=SublimeText3 [SublimeText3] hkcr,"*\shell\SublimeText3",,,"SublimeText3" hkcr,"*\shell\SublimeText3\command",,,"""%1%sublime_text.exe"" ""%%1"" %%*" hkcr,"DirectoryshellSublimeText3",,,"SublimeText3" hkcr,"*\shell\SublimeText3","Icon",0x20000,"%1%sublime_text.exe, 0" hkcr,"DirectoryshellSublimeText3command",,,"""%1%sublime_text.exe"" ""%%1"""
3.鼠标右键文件安装即可
4.如果想要删除重新设置,请在regedit注册表中删除即可
win+r 输入regedit
注:Notepad++软件可以改变文本编码方式,Notepad++下载链接