[Firefox] How To View Source Code In An External Editor

When doing a view source code in Firefox, by default the browser opens a new window with the source code. However, this default behaviour can be changed. With Firefox, you can change the default behaviour to open the source code in your favorite editor. This article describes step by step instructions to modify the default behaviour.

1.)  Browse to about:config in your Firefox browser.

2.) Search for the entry view_source.editor.external  and modify this to true. The default value for this entry is false. 

firefox-settings

3.) Next, search for the entry view_source.editor.path  and modify this to the explicit path to your editor of choice. 

Next time, when you click on View Page Source from the context menu, the source code will be displayed in your favorite editor; instead of a Firefox window.

You can follow me on Twitter at http://twitter.com/vaibhav1981

Do stay tuned to Technofriends for more, one of the best ways of doing so is by subscribing to our feeds. You can subscribe to Technofriends feed by clicking here.

Related posts:

  1. Searching for Source Code? Try these 6 websites.
  2. Microsoft to give read access to .NET source code
  3. [How-To] View Submitted Firefox Crash Information
  4. Create a firefox search plugin: Tutorial
  5. [How-To] Disable Geo-Location Feature in Firefox 3.5

One Response to “[Firefox] How To View Source Code In An External Editor”

  1. Thank you very much! This helped me do what I wanted in no time. :)

Leave a Reply