开发者

Notepad++ Modify shortcuts to run PHP pages at localhost

开发者 https://www.devze.com 2023-02-14 02:47 出处:网络
i want to modify shortcuts.xml file in notepad++ directory to change commands in Run > Launch in Firefox

i want to modify shortcuts.xml file in notepad++ directory to change commands in

  • Run > Launch in Firefox
  • Run > Launch in IE etc

i change following line

<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;$(FULL_CURRENT_PATH)&quot;</Command>

to

<Command name="Launch in Firefox" Ctrl="yes" Alt="yes" Shift="yes" Key="88">firefox &quot;http://localhost/$(FILE_NAME)&quot;</Command>

But when i 开发者_开发问答restart Notepad++ modified lines become reset. How to save these shourtcuts?


shortcuts.xml file gets overwritten when Notepad++ is closed. Use a different editor and save your changes when Notepad++ is not running. See here.


  1. Close Notepad++
  2. Edit shortcuts.xml in notepad (i.e. NOT notepad++)
  3. Reopen Notepad++
0

精彩评论

暂无评论...
验证码 换一张
取 消

关注公众号