Sep 07
6
Changing the default HTML viewer in Internet Explorer
Sadly, even to this day, Internet Explorer relies on notepad for viewing HTML source code through the default view source menu item. There is no programmatic way to change their either; which completely blows. Luckily there is a registry setting one can add that will allow you to change the source viewer program for good. First off, I found a nifty notepad replacement called notepad++ that is fast, allows opening files in a familiar tabbed interface, and will do syntax highlighting, line numbering, etc. Definitely a good download to review… it has replaced notepad for good for me. Anyway, once it’s installed, open regedit and add the following key:
HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name
Set the (Default) value to the path to your new HTML viewer (in my case I entered the path to notepad++.exe) and save.
