In Notepad++, how can I launch my HTML files in Google Chrome through the Run menu?
Solution 1:
If you download the latest version (5.7?), the Run Menu has four different "Launch in browser" menu items (IE, Firefox, Chrome, and Safari)
Solution 2:
You can edit the link in the run menu by going to the %AppData%\Notepad++ directory and editing the shortcuts.xml file to reference the proper location of Chrome.
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">chrome "$(FULL_CURRENT_PATH)"</Command>
Thats what it reads by default
<Command name="Launch in Chrome" Ctrl="yes" Alt="yes" Shift="yes" Key="82">%LocalAppData%\Google\Chrome\Application\Chrome.exe "$(FULL_CURRENT_PATH)"</Command>
That's what it could read
Type this into the run command box:
%LocalAppData%\Google\Chrome\Application\Chrome.exe "$(FULL_CURRENT_PATH)"
Solution 3:
Try adding the shortcuts you want in Settings > Shortcut Mapper > Run commands.
Solution 4:
In later verions of Notepad++ (currently 6.6.8) the shortcuts for browsers are not set by default, so one needs to save them first. To do so you can:
- Add them manually from Run menu
- Edit shortcuts.xml file
For the step by step solution, you can visit this link.