Interesting features of Eclipse 3.3

Posted At : March 14, 2007 1:15 PM | Posted By : Mark Drew
Related Categories: coldfusion, eclipse, flex, cfeclipse, Java

I know Eclipse 3.3 hasn't been released, yet, but I was looking at the latest stream build's notes on what is new and noteworthy and I found a few things that might be of interest to people that use CFEclipse and have had some bugs or issues with it.

Mozilla everywhere

Mozilla can now be used as the underlying browser control on Windows and OS X, providing that you have XULRunner installed and registered. To use this just create your Browser with the SWT.MOZILLA style.

This means we can set the default internal browser to use Mozilla, which means (if I am reading it correctly) we could include Firebug and Ray's ColdFire.

Open files with other editors

You can now open files with editors that are not registered for the specific file extension. Right-click on your file and select Open with > Other. You will be presented with a list of editors to choose from.

As it says, you can now choose what to edit those .tpl files (if you have made up a template extension) and quickly edit it in CFEclipse

Text drag and drop in text editors

It is now possible to drag and drop text to and from text editors

This has been a long time coming. Spike implemented the drag and drop stuff in CFEclipse which has caused some problems with some users, and its a pain to have to implement something that should be part of the framework! Finally!!! (I breathe a sigh of relief)

Configurable and extendable hyperlink detection

Clients can use the org.eclipse.ui.workbench.texteditor.hyperlinkDetectors extension point to add their own detectors and can enable their viewers using the corresponding methods in the source viewer configuration along with the org.eclipse.ui.workbench.texteditor.hyperlinkDetectorTargets extension point

One of the nightmares of adding CFC introspection and linking is simply adding the (simple) hyperlink for the objects and telling it what to do. All the solutions I have been looking at so far look like hacks, so this is a much neater way of doing it! Great stuff!

Reading more into past Eclipse 3.3 (M4) releases, there are other things that will make some issues disappear from my little list too.

Show invisible whitespace characters

It is now possible to see the invisible whitespace characters in textual editors: Such as space, tab etc. I remember there was a bit of a conversation about this in the cfeclipse user list (did I mention it moved to google groups by the way?)

Spell checking in text editor

Spell checking is now also available in the text editor As it says on the tin!

There are many other improvements, some of which affect more plug-in and Java developers than the CF Community and that will definitely make my life easier! I just love it when a product starts getting better and better!

I am also thinking of dropping support for Eclipse 3.1 (as if I did a lot of support for it! I know, I know!) as soon as Eclipse 3.3 is released (which I think will be this summer). I know this will affect people using FlexBuilder standalone, but the easy work-around is to re-install it as a plug-in onto 3.2 so I hope it wont cause major issues.

Comments (Comment Moderation is enabled. Your comment will not appear until approved.)
Teddy R Payne's Gravatar Mark,
I started using 3.3M4 when you said CFE 1.3 was compatible with it last month and I have not stopped using it for my non-Flex projects.

They have indeed removed some items from the to do list that the CFEclipse mailing list subscribers have been asking for.

Also, thanks for all of the recent updates to better the product. I cannot say how much I owe you some JD and DC at CFUnited.

Cheers mate,
Teddy
# Posted By Teddy R Payne | 3/14/07 2:00 PM
Rob Wilkerson's Gravatar I'm not one to use a lot of web acronyms, but OMFG! I've been waiting for text drag & drop since...well, since the dawn of man, it seems. The CFEclipse implementation isn't bad (except for the funky ctl-drag and -drop thing), but it made me crazy to use other editors (CSS, XML, etc.) and not have it available.

CFEclipse, even if it's implementation wasn't perfect, spoiled me. I was using it for other languages *just* so I could drag & drop. It's about time the core developers put that in there. Outstanding.
# Posted By Rob Wilkerson | 3/14/07 2:43 PM
Mark Drew's Gravatar Funnily enough, CFEclipse doesn't work on Eclipse 3.3 M5 exactly because of the drag and drop (I am thinking its something todo with SWT and the Mac, but never mind) so hopefully I shall get it working in the next few releases.
# Posted By Mark Drew | 3/14/07 2:50 PM
TJ Downes's Gravatar 3.3 also fixes some crashing issues experienced on Vista. Unfortunately, the Flex Builder Plugin crashes under 3.3.... sigh. The whole Eclipse experience is reminding me of dependency issues in Linux, the entire reason I gave up on trying to use Linux as a desktop
# Posted By TJ Downes | 3/14/07 3:03 PM
Lola LB's Gravatar Speaking of which, has the Mac SWT bug been fixed? I have my bugzilla account sent to send me notices whenever there's an update on that bug, and I haven't received any for months.
# Posted By Lola LB | 3/14/07 3:13 PM
Mark Drew's Gravatar Which bug is that? I dont have the link handy...
# Posted By Mark Drew | 3/14/07 5:24 PM
Muncher's Gravatar Just saw this.. and looked over the old posts insisting it was unnecessary. Funny how sometimes it happens that way - dev's insist functionality is not needed for a handful of years (issue was raised even before 2004 when drag-drop was the standard in _everything_) then suddenly it's there.

I just wish there was some way to tattoo this on the devs hands so they see it all the time "Eclipse Is Used By Devs, Not Plebs".
# Posted By Muncher | 6/6/07 1:16 PM