Notepad ++修改快捷方式以在localhost上运行PHP页面

时间:2011-03-02 08:59:30

标签: notepad++ shortcuts

我想修改notepad ++目录中的shortcuts.xml文件以更改

中的命令
  • 运行>在Firefox中启动
  • 运行>在IE中启动 等

我改变了以下行

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

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

但是当我重新启动时,Notepad ++修改后的行会重置。 如何保存这些shourtcuts?

2 个答案:

答案 0 :(得分:2)

当Notepad ++关闭时,

shortcuts.xml文件被覆盖。使用不同的编辑器并在Notepad ++未运行时保存更改。请参阅here

答案 1 :(得分:1)

  1. 关闭Notepad ++
  2. 在记事本中编辑shortcuts.xml(即NOT 记事本++)
  3. 重新打开Notepad ++