Community
    • Login

    Editing the Shortcuts File

    Scheduled Pinned Locked Moved Help wanted · · · – – – · · ·
    shortcuts
    2 Posts 2 Posters 39 Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • D. KirkpatrickD
      D. Kirkpatrick
      last edited by

      Notepad++ 8.9
      Windows 11 25H2

      In the past I have been able to edit the Shortcuts file to add in a preferred web browser (Vivaldi) for launching an HTML file to review. However with this latest version there doesn’t seem to be a way to do this?

      When I added in the appropriate line to the XML file and saved it nothing happened and the pull down menu did not change. I know there is a copy in %appdata% but that also had my changes. Still… the program did not seem to see it.

      How does one add-in a preferred browser to the Shortcuts XML file?

      PeterJonesP 1 Reply Last reply Reply Quote 0
      • PeterJonesP
        PeterJones @D. Kirkpatrick
        last edited by PeterJones

        @D-Kirkpatrick said in Editing the Shortcuts File:

        However with this latest version there doesn’t seem to be a way to do this?

        Nothing has changed regarding shortcuts.xml in the last many versions.

        I know there is a copy in %appdata% but that also had my changes.

        It depends on your settings, but the %AppData%\Notepad++\shortcuts.xml is the normal first place that Notepad++ will look.

        if that’s not working for you:

        1. confirm you follow the normal incantation for editing config files (ie, close all N++, open just one, edit file, save, exit and restart N++ to allow the change to take effect)
        2. if that doesn’t work, grab ?-menu’s Debug Info and share it with us
        3. share the actual XML snippet from the right shortcuts.xml file, so we can look to see if we can tell what’s wrong

        update: I just re-read your post, and noticed:

        When I added in the appropriate line to the XML file and saved it nothing happened and the pull down menu did not change.

        You have to exit Notepad++ after saving, then restart the application. Notepad++ doesn’t just re-parse shortcuts.xml when you save it, so the menu won’t change by just hitting save on the file.

        1 Reply Last reply Reply Quote 1
        • First post
          Last post
        The Community of users of the Notepad++ text editor.
        Powered by NodeBB | Contributors