Home  >  Article  >  Backend Development  >  Sublime Text add right click

Sublime Text add right click

WBOY
WBOYOriginal
2016-08-08 09:25:171038browse

Sublime Text is a very popular editor now. Not only on the web front-end, it is also quite easy to use when writing simple PHP, JS and other codes. Coupled with a variety of plug-ins and novel interfaces, It’s even more addictive. When we use it, when we like to open a file, right-click and choose to open the program, such as Notepad, Notepad++, etc. At this time, it will be much more convenient if Sublime Text is also added to it. After some searching, the experiment was successful and the effect is as follows:

It is also very simple to implement: 1. Open the registry, start → run → regedit2. Create a new item under HKEY_CLASSSES_ROOT → * → Shell Name it Edit with Sublime Text3. Name the new string value Icon, and the value is "The path where Sublime text is located, 0". Here is D:Program Files (x86)Sublime Text 2sublime_text.exe,0such as As shown in the picture:

4. In Edith with Sublime Text, create a new item command below, and enter the default value as D:Program Files (x86)Sublime Text 2sublime_text.exe %1 as shown in the picture:

It’s done, no need to restart, you can see the effect immediately, Enjoy It!

Please indicate when reprinting: The country of the natives ? Put Sublime Text Add right-click menu (with icon), Edit with Sublime Text

The above introduces how to add right-click in Sublime Text, including the content. I hope it will be helpful to friends who are interested in PHP tutorials.

Statement:
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