When I installed N++, I didn't choose to make it the "View Source" default in IE because I wasn't familiar with the program yet. Now I do want it as the default. Is there a way to change that? I've tried entering this in the registry:
HKEY_LOCAL_MACHINE > Software > Microsoft > Internet Explorer > View Source Editor > Editor Name > (Default) = C:\Program Files\Notepad++\notepad++.exe
But that just opens N++ without opening the file. Adding the parameter %1 to the end just causes an error.
In Firefox, I get the same problem when I open about:config, set view_source.editor.external to true, and then set view_source.editor.path to C:\Program Files\Notepad++\notepad++.exe
Any suggestions?
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
I have manually added NP++ as viewer in my I.E.6, and it opens ok (with desired file too).
And I don't have the standard path, but I use NP++ from another drive.
Have you tried to edit the registry in another computer and see if it works there? Might be just your Windows having problems...
Also, I wish there was an option in NP++ to set it as the default viewer/editor, just like PSPad has one.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
On my box, the registry entry for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" shows C:\Tools\Notepad++\nppIExplorerShell.exe -- I guess if you installed it to the default directory it would typically be "C:\Program Files\Notepad++\nppIExplorerShell.exe" instead. The quotes may be necessary if there are spaces in the path. --Joel
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
That file doesn't exist for me, so that must be something that is created dependent on whether one checks the IE "View Source" Default option upon installation. I guess I'll just have to uninstall and reinstall. Though, Don, this would be nice to be able to do with a click in the Settings > Preferences menu.
If you would like to refer to this comment somewhere else in this project, copy and paste the following link:
When I installed N++, I didn't choose to make it the "View Source" default in IE because I wasn't familiar with the program yet. Now I do want it as the default. Is there a way to change that? I've tried entering this in the registry:
HKEY_LOCAL_MACHINE > Software > Microsoft > Internet Explorer > View Source Editor > Editor Name > (Default) = C:\Program Files\Notepad++\notepad++.exe
But that just opens N++ without opening the file. Adding the parameter %1 to the end just causes an error.
In Firefox, I get the same problem when I open about:config, set view_source.editor.external to true, and then set view_source.editor.path to C:\Program Files\Notepad++\notepad++.exe
Any suggestions?
I have manually added NP++ as viewer in my I.E.6, and it opens ok (with desired file too).
And I don't have the standard path, but I use NP++ from another drive.
Have you tried to edit the registry in another computer and see if it works there? Might be just your Windows having problems...
Also, I wish there was an option in NP++ to set it as the default viewer/editor, just like PSPad has one.
http://www.iconico.com/viewSourceEditor/
get that then you can change it whenever you want
it does not install just run it...and browse to notepad++.exe
That just edits the registry the same way I did. And the result is again that N++ opens, but doesn't load the code.
On my box, the registry entry for "HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name" shows C:\Tools\Notepad++\nppIExplorerShell.exe -- I guess if you installed it to the default directory it would typically be "C:\Program Files\Notepad++\nppIExplorerShell.exe" instead. The quotes may be necessary if there are spaces in the path. --Joel
That file doesn't exist for me, so that must be something that is created dependent on whether one checks the IE "View Source" Default option upon installation. I guess I'll just have to uninstall and reinstall. Though, Don, this would be nice to be able to do with a click in the Settings > Preferences menu.
Use "" around the path: "C:\Program Files\Notepad++\notepad++.exe"
Best regards,
Karsten