【问题标题】:Why I cannot add 'Enter' for Scintilla commands in notepad++?为什么我不能在 notepad++ 中为 Scintilla 命令添加“Enter”?
【发布时间】:2016-06-16 08:38:54
【问题描述】:

我不小心从Scintilla commands 中删除了Enter,看起来无法重新添加 - Add 按钮是灰色的,无法点击:

【问题讨论】:

    标签: notepad++ scintilla


    【解决方案1】:

    据我所知,Notepad++ 中没有选项,但您可以编辑 shortcuts.xml 文件以恢复原始分配。

    可以在以下任一位置找到 XML 文件:

    • %ProgramFiles(x86)%\Notepad++\shortcuts.xml
    • %appdata%\Roaming\Notepad++\shortcuts.xml
    • Notepad++Portable\Data\Config\shortcuts.xml 运行便携版时

    打开文件并清空ScintillaKeys 节点:

    应该变成:

    保存文件并重新启动 Notepad++。 Enter 的快捷键应该被恢复了。

    【讨论】:

    • 该文件也可能位于 %appdata%\Roaming\Notepad++\shortcuts.xml。
    • @TigerhawkT3 谢谢!我会将此位置添加到答案中。
    • 如果您在其他地方安装了notepad++,它也可能在安装文件夹中的shortcuts.xml 中。至少对我来说是这样(我的 appdata 和程序文件 x86 没有 notepad++ 文件)。
    猜你喜欢
    • 2014-05-15
    • 2017-01-02
    • 2016-05-04
    • 1970-01-01
    • 1970-01-01
    • 2020-10-27
    • 1970-01-01
    • 2020-10-06
    • 1970-01-01
    相关资源
    最近更新 更多