Home  >  Article  >  Development Tools  >  How to add sublime text to the right-click menu

How to add sublime text to the right-click menu

藏色散人
藏色散人forward
2020-06-04 17:02:034407browse

下面由sublime教程栏目给大家介绍将sublime text添加到右键菜单中的方法,希望对需要的朋友有所帮助!

How to add sublime text to the right-click menu

使用的是免安装便携版的Sublime Text,所以右键加入菜单这样的事情也就是能自己手动来设置了。

将下面的代码保存为*.reg的文件,然后导入到注册表中,这样就可以在右键的菜单中打开文件或者文件夹了。

Windows Registry Editor Version 5.00
 
[HKEY_CLASSES_ROOT\*\shell\SubLime]
@="edit with Sublime Text"
 
[HKEY_CLASSES_ROOT\*\shell\SubLime\Command]
@="E:\\Program Files\\Sublime Text 2\\sublime_text.exe \"%1\""
 
[HKEY_CLASSES_ROOT\Directory\shell\SubLime]
@="edit with Sublime Text"
 
[HKEY_CLASSES_ROOT\Directory\shell\SubLime\Command]
@="E:\\Program Files\\Sublime Text 2\\sublime_text.exe -a \"%1\""

更多sublime text相关技术文章,请访问sublime text教程栏目!

The above is the detailed content of How to add sublime text to the right-click menu. For more information, please follow other related articles on the PHP Chinese website!

Statement:
This article is reproduced at:segmentfault.com. If there is any infringement, please contact admin@php.cn delete