Tuesday, March 18, 2008

How to change IE7 default 'View Page Source' text viewer in Windows XP/Vista

I really love Notepad</grin>, I think it does a wonderful job with the really simple things, like a quick and dirty way of opening text files, web.configs (if you are in a rush only of course).

Now, if you are a web developer and say you want to see the source code of any given page or you might get a JavaScript error in line 1209 and want to have a look at it..then honestly NotePad does not cut it really.

I use Notepad++ at work http://notepad-plus.sourceforge.net/uk/site.htm and so far I'm a very happy chap.


So how do you change to say..Vi in Windows XP

  1. Download TweakUI from http://www.microsoft.com/windowsxp/downloads/powertoys/xppowertoys.mspx
  2. Start Tweak UI and update your view source editor under Internet Explorer | View Source, and then point it to the exe of your editor of choice.


But mate, what about Vista?

oh yeah!, TweakUI does not work in Vista so I read this IE7 blog entry in the msdn blogs




You can also download this mini-app to do it for you ( preferred choice, since I could not find the HKey described above on my Vista sys)


http://www.iconico.com/viewSourceEditor/  ( skip the registration!)


Worked very well.



No comments: