Flex Builder Annoyance Solution
One thing that has always bugged me about Flex Builder (or more specifically Eclipse) is that when you click the Run/Debug/Build button (or F11/ctrl-11) your project is always opened up in a new browser tab. It doesn’t take long until you realize that you have 20 tabs open – or at least in my workflow it happens!
So last night I built a Firefox extension that I have been wanting to make for a while. It’s called Prevent Duplicate Tabs, and ensures that only the most recent tab of a given url is open at any one time. After its installed, you will notice that there is a menu item in the Tools menu called “Prevent Duplicate Tabs”. By default it is checked, and if you want to turn the extension off, you can simple toggle the menu item.
This is my first ever Firefox extension. It was a bit of a pain to develop, and I now have even greater appreciation for the Flex documentation ;-)
Feedback is welcome – source is available by request.



The one snag I had was opening several Google Apps at once. For example when I tried to open Gmail, Google Calandar, and Google Reader simultaneously (Open all in tabs under bookmarks), the Calendar and Reader tabs were closed automatically.
Does the whole URL have to be duplicated or just the domain?
It’s the whole URL. Keep in mind that this extension solves a particular problem during development and can be turned off. I will look into this issue though.
Yeah - That would be the best if you include/exclude patterns for domains, similar to how the Greasemonkey addon works
Collin - That is a great suggestion! I will look at adding that in a future release!
I took this guy’s suggestion and use IE for debugging. Keeps firefox for me.
http://polygeek.com/477_adobeflash/flex-tutorial_i-actually-found-a-use-for-internet-explorer
about:config
set browser.link.open_external = 1
http://blog.wheelerstreet.com/?p=126
didnt seem to work the first time..
http://blog.wheelerstreet.com/?p=126
hehe - sweet tip! Makes my extension somewhat (alright completey) useless - but hey, I learned a lot about making Firefox extensions!