Viewing By Category : Plugins /
Main
Wednesday, September 1, 2010
Copy Fully Qualified Classname Plugin for Flash Builder 4 (CFQCN)
I created a little add-on for Flash Builder 4 which gives you a "Copy Fully Qualified Name" entry to the context menu in the MXML/AS3-Editors of Flash Builder. This is especially useful if you're creating new skin classes in Flex 4 and need to know the FQCN of the skin class to reference it in the CSS file for example (oh - and for item renderers, also very useful, and for a few other things it's useful, too btw)
I was a bit lazy concerning the name for this plugin so I just called it CFQCN
To get proper result you have to point the cursor into the editor (i.e. click on an element), then right-click and choose the "Copy Fully Qualified Name" menu entry. This will try to get the FQCN of the element (in case it's an element in MXML) or the name of the topmost class (in case of AS3 file or top-level MXML elements).
Some notes:
- Members, properties and imports in AS3 (AS3 class files and Script blocks in MXML) are currently not supported
- You really need a selection on the element you want tp copy the name from, i.e. the cursor needs to be placed on the element by mouse or by keyboard
This is really the first version of the plugin and I will add more functionality over time.
To install, download the ZIP file from here, unzip it and copy the JAR file to the /plugins directory of your Flash Builder 4 / Eclipse installation and restart. That's all. Oh, and yes it's free to use. Enjoy!
Dirk.
Friday, October 12, 2007
TODO/FIXME extension works fine with Flex Builder 3 Beta 2
Just FYI, the TODO/FIXME extension also works in Flex Builder 3 Beta 2. If it does not work for you, then make sure to start Flex Builder / Eclipse with the -clean command line option. This should fix it.
Dirk.
Wednesday, January 31, 2007
JRun 4 Support Plugin for Eclipse WTP/JST
The Web Tools Platform (WTP) is a great enhancement for Eclipse - especially since Peter Martin of Adobe Consulting released a new version of the FDS Plugin that adds support for Eclipse 3.2.x and Flex 2.0.1 (for those people who don't know what it is: Peter's plugin allows you to develop and debug your Flex and Java code in a single Dynamic Web project)
One thing that is currently missing in WTP (or to be more specific missing in JST which is part of it) is built-in support for JRun. Based on this excellent article by Alex Kazakov I created and packaged a plugin for Eclipse 3.2.1 that adds JRun 4 support to WTP / JST so you can now also develop and debug your Flex applications on JRun using Peter's plugin :)
I've only tested in on my Windows XP box and didn't even tested it completely - so just take it as is and drop me an email if something does not work. To install it just download the ZIP file below, extract it and copy the plugin to your Eclipse installation.
Dirk.
Tuesday, January 9, 2007
TODO/FIXME extension works fine with Flex Builder 2.0.1
I just tested my TODO/FIXME extension with Flex Builder 2.0.1 (Windows) and it just works fine - so do yourself a favour and throw it into the plugins folder of your 2.0.1 install :)
Btw, I'd be very happy if someone on a Mac could test it also - I don't have a Mac at my disposal and I'm curious if it runs on the Mac version as well (should work but you never know).
Dirk.
Friday, July 21, 2006
TODO/FIXME extension for Flex Builder 2
I finally found some time to finish work on an extension plugin for Flex Builder 2 which adds TODO/FIXME Task support similar to Eclipse's Java Development Tool JDT. This is the nice thing about Flex Builder 2: it's based on Eclipse so you're able to contribute to the product by adding your own extensions.
How it works: the plugin parses every MXML/AS file when opened and searches comments (both MXML and AS comments) for TODO and FIXME tokens (this search is case insensitive, so it also finds todo). The same action takes place after a file has been saved. If a token is found, a new Task gets generated with its message set to the comment and displayed in the Task View (To open Task View choose Window-->Other Views...-->Basic-->Tasks in Flex Builder 2 standalone and Window-->Show View-->Other-->Basic-->Tasks when running Flex Builder 2 as a plugin in Eclipse). Note: to really delete a Task you have to delete the comment - deleting a Task from the Task View does not kill the comment, so after you save the file the Task will reappear.
Installation: unzip the ZIP file and move the content of the plugins folder to the plugins folder of Flex Builder 2 / Eclipse. Then, close Flex Builder 2 / Eclipse and restart. The ZIP also contains a Test.mxml file which can be used to test the functionality.
Currently, the plugin only processes single-line comments but it ignores whitespaces between the start of a comment line and the TODO/FIXME token. I'm open for comments and enhancement requests, so please post them here.
Download Flex Builder 2 Task Plugin 1.0.0
Last but not least: Kudos to Stephen Milligan and Mike Morearty - they gave me some great hints on how to build this plugin. Thanks guys!
Dirk.