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:

  7 Responses to “How to Change IE7 View Source Editor”

  1. This method doesnt work for IE7 on windows xp.

    HKEY_LOCAL_MACHINE
    |_ Software
    |__ Microsoft
    |___ Internet Explorer
    |____ View Source Editor (doesnt excist)

  2. How can this be done with IE7 on windowsXP

  3. 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.

  4. 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.

  5. 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).

  6. 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.

  7. tweakUI works for XP but here is the reg export anyway. (typical “use at your won risk” disclamer applies)

    Windows Registry Editor Version 5.00

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor]

    [HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Internet Explorer\View Source Editor\Editor Name]
    @=”C:\\Program Files\\NotepadPP\\notepad++.exe”

    Replace C:\\Program Files\\NotepadPP\\notepad++.exe with your program’s filepath.

 Leave a Reply

(required)

(required)

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>