Thursday, December 30, 2010

New Firebug Autocomplete annoying with jQuery

Firebug is a great tool for web developers to debug webpages.

If you have installed the latest update from Firefox' Add-ons menu and tried to write jQuery commands into the console/command line of firebug you might have run across an annoying problem.

Firebug tries to autocomplete $, $(, $(', etc. adding $ and completing ' after the next character. Basically you have to keep hitting escape or delete to write your jQuery statement.

This problem is luckily fixed in the latest beta release. It is not available through the add-on menu in Firefox, but can be downloaded directly from the Firebug website. So head over to http://blog.getfirebug.com/2010/12/22/firebug-1-6-1b2/ and download it.

Source: http://code.google.com/p/fbug/issues/detail?id=3184.

2 comments:

  1. Another problem I'm noticing...the latest release no longer respects the autocomplete of the dot operator on jQuery object, like it used to...

    So typing

    $("body").

    And tabbing on the "." period returns no results.

    What a bummer.

    ReplyDelete
  2. You're right. Seems like firebug has big troubles with jQuery, which is odd since so many people use them both.
    Also, it looks like we might have to wait awhile for the fixes. I'be been following the bugreport at http://code.google.com/p/fbug/issues/detail?id=3709 and there has been many minor releases without a fix. Latest is that it might be included in the next major release (1.8).

    ReplyDelete