Home > Development Tools > sublime > body text

How to add sublime text to the right-click menu

藏色散人
Release: 2020-06-04 17:02:03
forward
4414 people have browsed it

下面由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\""
Copy after login

更多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!

Related labels:
source:segmentfault.com
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template