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.



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
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.
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".