How to allow Notepadd++ to launch in Brave browser
-
Firstly, find where Brave is installed on your PC. Usually: C:\Program Files (x86)\BraveSoftware
In that folder, go to into the folder “Brave-Browser” and copy the “Application” folder.
Then, go into C:\Users\ %yourusername%\AppData\Local and paste the application folder you copied in the previous step into C:\Users\ %yourusername%\AppData\Local\BraveSoftware. So now in that folder you should have 3 folders, application, brave-browser and crashreports.
Now, find “shortcuts.xml” (usually in C:\users\ %username%\appdata\roaming\Notepad++)
Right click and edit the file shortcuts.xml file.
Copy the command that launches chrome, looks like this:
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command>
Paste the same line directly underneath, and replace all instances of Chrome with Brave.
So both lines should now look like this.
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command> <Command name="Launch in Brave" Ctrl="yes" Alt="yes" Shift="yes" Key="82">brave "$(FULL_CURRENT_PATH)"</Command>
Restart Notepad++
Lastly, reopen Notepad++, go to Run > Modify Shortcut/Delete Command… > Left click on the Launch in Brave option you have just created > Modify > Change the key used to launch the browser so it does not conflict with the Chrome one we made earlier.
Done!
Apologies if there’s an easier way to do this, this is how I managed to work it out with the limited info I could find online.
Thanks.
-
@Scott-Wilks Write the full path to your browser … and that’s it!
<Command name="Launch your browser" Ctrl="no" Alt="no" Shift="no" Key="0">"Full_path_to_your_browser.exe" "$(FULL_CURRENT_PATH)"</Command>
-
@Scott-Wilks
Here is an example of launching a portable version of the Slimjet browser.<Command name="Launch in Slimjet" Ctrl="no" Alt="no" Shift="no" Key="0">"C:\Users\Uzeer\Downloads\sjt7z_x64\Slimjet\slimjet.exe" "$(FULL_CURRENT_PATH)"</Command>
-
-
That is much better, wish I had known that sooner! Thank you for the examples!