Mar 012008
Viewing the source code of Web page is part and parcel of the Web design process. You can also learn how other people’s Web pages achieve certain effects by viewing their source codes.By default Microsoft will provide notepad to view source of a web page.
If you want to change view source editor from notepad to your favourite editor like notepad2,pspad you need to make sure you have installed any one of these before doing the following steps
Go to start—>Run—> Type regedit click ok
Now you need to navigate the following key from left pane
HKEY_LOCAL_MACHINE
|_ Software
|__ Microsoft
|___ Internet Explorer
|____ View Source Editor
Double click on the following key from right pane
|_____ Editor Name (Default) = C:\WINDOWS\NOTEPAD.EXE
change C:\WINDOWS\NOTEPAD.EXE
to
C:\Program Files\Notepad2\notepad2.exe
Download notepad2 from here
Incoming search terms:
- IE7 View Source (8)
- ie7 view source editor (4)
- windows 7 view source editor (3)
- see source code on ie7 (3)
- how set ie viewsource in editplus (3)
- changing source code editor in internet explorer 7 (2)
- internet explorer 7 view source editor (2)
- IE7 view source opens in desktop (1)
- IE7 view source is navigatint to Desktop (1)
- ie7 view sourcecode (1)
This method doesnt work for IE7 on windows xp.
HKEY_LOCAL_MACHINE
|_ Software
|__ Microsoft
|___ Internet Explorer
|____ View Source Editor (doesnt excist)
How can this be done with IE7 on windowsXP
For Windows XP, the “View Source Editor” and “Editor Name” keys don’t seem to be there by default but you can just create them yourself. Did that myself and it’s working great now.
Nope. Tried adding both but still opens NotePad.
Can someone export the woking key to a file (ie_view_src.reg) and post it so the rest of us can import it into regedit?
Here is what I have (doesn’t work!):
Windows Registry Editor Version 5.00
[HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor]
"Editor Name (Default)"="\"C:\\Program Files\\EditPlus 3\\editplus.exe\""
@="\"C:\\Program Files\\EditPlus 3\\editplus.exe\""
Thanks.
These instructions are wrong. Here are the correct instructions, found elsewhere, which, when followed in IE6, work perfectly: (You have to create TWO nested Registry keys.)
Run REGEDIT, follow the following directions to the proper key.
HKEY_LOCAL_MACHINE
|- Software
|- Microsoft
|- Internet Explorer
|- View Source Editor
|- Editor Name (Default) = C:\windows\notepad.exe
If this doesnt exist (but it should) then create the Key “View Source Editor”
Then create a Key within that named “Editor Name”. Modify the
“(Default)” value to make it point towards any program on your
computer using “C:\YourProgram.exe” (without the brackets).
I managed to find an easy way for windows xp, i used the power toy tweak UI. you can select any programme to open the source code.
tweakUI works for XP but here is the reg export anyway. (typical “use at your won risk” disclamer applies)
Replace C:\\Program Files\\NotepadPP\\notepad++.exe with your program’s filepath.