Quick fix!

David Zuckerman, also on the Flex Builder team, has written a totally awesome extension plugin for Flex Builder. It provides “Quick Fix” — with a quick keystroke or two, you can tell Flex Builder to automatically fix certain common errors and warnings. For example, say you wrote this:

function f()
{
    return "hello";
}

The compiler will warn you that function f() has no type. But, Ctrl-1, Quick Fix, and voilà — Flex Builder guesses that the return value of f() should be of type String:

function f():String
{
    return "hello";
}

Here’s a screenshot of QuickFix adding a type to a variable:

There is lots more. It is highly recommended.

5 Comments so far

  1. Rostislav Siryk on May 24th, 2006

    Is there a chance to get this very useful tool in Flex Builder 2 release?

  2. mike on May 24th, 2006

    David’s plugin will continue to be available as a separate download from his site. If it needs any minor modifications to work with the final release of Flex Builder, David will make those changes. So, although it won’t be an official part of Flex Builder, don’t worry, the tool will still be available.

    From David’s Q&A:

    Q: Why isn’t this plugin available on labs.adobe.com?
    A: Labs is for pre-release software that will officially be released. Since this is a side project, it doesn’t have the same level of quality that releases on labs have.

    Q: Why didn’t these features make it into Flex Builder 2?
    A: Sadly, there wasn’t enough time to test and fully develop these features.

  3. george on July 20th, 2006

    can you fix my quick player

  4. george on July 20th, 2006

    can you help me to fix my quick player

  5. george on July 22nd, 2006

    can you help me can not to quick time player can fix it for me george gordon

Leave a reply

*
To prove you're a person (not a spam script), type the security word shown in the picture. Click on the picture to hear an audio file of the word.
Click to hear an audio file of the anti-spam word