Snippets code from my daily experience

December 10, 2011

Open and save Firebug command line text with ViewSourceWith

Filed under: firebug,viewsourcewith — dafi @ 11:11 am

I spend much time using the Firebug command line set in multiple lines view, I edit javascript code or run little not automated tests copying and pasting code to the Firebug command line window.

Copy and paste doesn’t really fits my needs, I prefer to edit javascript files from my preferred editor (i.e. KomodoEdit) than run them on Firebug especially if code consists of many lines (more than dozen) so I’ve added to FirebugĀ the ability to open and save files extending ViewSourceWith

Now it’s possible to open/save files directly from Firebug but the most important feature allows to open the file both on your editor and on firebug then any saving done is reloaded automatically.

A better example, you open the file ‘hello.js’ both on your editor and firebug using the new ‘Open’ button, you edit the text from your editor and save then switch to Firebug console window and immediately the text is updated with last saved version from the editor.

VSW with Firebug support isn’t officially released but if you are interested in testing it you can download ViewSourceWith 0.9a1

About these ads

2 Comments

  1. Sounds great! Let me know if you want to have a note about your extension on http://getfirebug.com/wiki/index.php/Firebug_Extensions

    Honza

    Comment by Jan Odvarko — December 12, 2011 @ 12:08 pm

    • Oh thanks! Sure, I’m happy if you can add VSW to the Firebug extensions list.
      I will release VSW with Firebug support in a couple of days :)

      Comment by dafi — December 12, 2011 @ 12:12 pm


RSS feed for comments on this post.

The Rubric Theme. Blog at WordPress.com.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: