Editing the Shortcuts File
-
Notepad++ 8.9
Windows 11 25H2In 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?
-
@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.xmlis the normal first place that Notepad++ will look.if that’s not working for you:
- 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)
- if that doesn’t work, grab ?-menu’s Debug Info and share it with us
- share the actual XML snippet from the right
shortcuts.xmlfile, 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.xmlwhen you save it, so the menu won’t change by just hitting save on the file.
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better 💗
Register Login