Mark Drew (Redux)- cf_etc...

a compendium of railo, cfml, cfeclipse and technology topics

Mark Drew (Redux)- cf_etc...

CFEclipse: enhancements Part 2

August 4, 2006 ·

Continuing from yesterday's post, here are some of my comments with regards to some of the features that have been requested if a magic wand could be waved and all your feaures be implement. So moving right ahead....

Fixes to colour highlighting (especially on dark backgrounds)
Refactoring Support
Hyperlinking to CFC's and CFC functions
This is the "Golden Grail" isnt it? Being able to know what type of object you are writing even before CF itself knows it (since its not a strongly typed language)

Awareness of external CFC's (without definition in code)
This is a tough one. CFEclipse would have to have access to the code. We don't parse CFML to that level, there are ways round it and if people post the code that they are trying to figure out there ARE ways that we can handle this (like creating a linked directory to the external CFC's)

Double click selects a whole tag
I presume this is a bug, its a user's preference and something they are used to. I know there is code there that was written to select *something* so its a matter of changing this behavior if people are interested (on the whole not the individual)

Expression Builder
Even for the 6 years or so that I was doing ColdFusion in CFStudio I never figured this thing out as useful. I personally still don't. Good syntax highlighting and awareness of how functions and CFC's work get round this. There will be improvements to the dictionary view and some new views to help you with functions and tags. Someone show me how my life is better with some sort of Expression Builder and I might think about it. Again, I am not porting CFStudio/HomeSite. I wont.

Customisable toolbars
I have added HomeSite-like toolbars, and after talking to Dean Harmon over at CFunited these might change and become a view on themselves. Eventually I am going to make it easier for you to add your own toolbars, without having to edit the toolbar.xml directly. This is a feature I kind of like and it will be more integrated into snippets as they are a very powerful feature.

Comparison of remote files
Yep. This is going to happen, I mentioned I need to integrate FTP/sFTP/RDS into what is called a Team based plugin, so that you can do compare/replate synchronise etc. There is a lot to work out as I mentioned but I think, now with Eclipse 3.2, it will be coming. When? That depends on prioritisation of features.

"How to move to CFEclipse from HomeSite video"
OK, sure. Anyone switched over recently? Robert Blackburn has been writing a series of articles on CFEclipse over at Fusion Authority and I have been doing a number of presentations on this. Rob Rohan did a number of videos before, and now I have a copy of contribute to play with. I promise I shall do some videos but its just finding the time. If anyone asks how they can contribute, this would be a good way! There will be a new CFEclipse.org site coming soon and it will have all these resources in a central location. Time, as you all know, is all I need.

Customisable hotkeys for snippets
NO. Hmm, thats a bit harsh, but let me put it another way... no. Eclipse has a different way of doing keyboard shortcuts and I have a "cunning plan thats more cunning than a fox with a degree in Cunning from Cunning-ham University". This will be that you will hit the snippet hotkey (Ctrl/Apple + J) and you will see all the snippets you have assigned trigger text... you can then type it and press return... I think this will be more expandable than the way CFStudio/HomeSite does it.

Integrated Help
Which help? Coldfusion 5/6/7 or 8, Blue Dragon 6/7? Railo? I understand you and I want help, but this clashes a bit with a very useful feature of being able to have multiple dictionaries. Also Help is very "heavy" i.e. it takes up a lot of space. So, I would ask the providers of the various CFML runtimes to provide help plugins, discuss with me and we shall find a way of calling the right help for your version of ColdFusion you have defined for your project. Deal?

Split Screen
You can do this, you create a new editor (right click on the editor's tab and move it where you want it. It would be a new version of the editor that will ask you to update when you save, but it does the trick. This is an "edge" case in my opinion (hey... I can have one you know?) and you wont need it all the time.

Customisable Code Colouring
You can customise this, go to Window-Preferences-CFEclipse and check out the sub tabs, there is code colouring for CF, HTML and SQL tags (this is from memory so just go and check it out)

Stability improvements
Any bugs, please put them on the bug tracker over at http://cfeclipse.tigris.org, just register and add a bug. I will get round to it and if you think you can help make it more stable, please, just hit me up, I can show you where the code is and the way to work it out.

Frameworks Intelligence
I already wrote a plugin for Fusebox a while back, I am not using Fusebox anymore so I don't have a pressing need nor ideas on how it could help me doing it. I am definitely going to be working on a ModelGlue one and have some great ideas for it, once I get a way of implementing them (hint: Round Trip modeling anyone?).

Better file explorer (by name, by date, by type)
Yep, good idea. I don't use this view much apart from using it to edit something remotely. But I can definitely see what people mean. Another feature to implement.

I shall be working through the next items tomorrow, I got the initial list of requirements from Damon Cooper's blog when there were about 60 commnents, there must be about 100 or so now, so I shall have to have another read!

Tags: cfeclipse · coldfusion · model-glue

8 responses

  • 1 Dan Parker // Sep 22, 2008 at 4:10 PM

    Is it possible to change the background color for particular tags? In Dreamweaver, I used to make the backgrounds yellow on my comment tags. How about making tags bold? I could make CF tags red and bold in Dreamweaver.

    I have partial color-blindness, so these features are really handy for me.
  • 2 Dan Parker // Sep 22, 2008 at 4:10 PM

    P.S. CFEclipse is awesome! Thanks for your hard work!!!
  • 3 Tony Petruzzi // Sep 22, 2008 at 4:13 PM

    In regards to code coloring:

    It would be nice to change the background color in addition to the foreground color. I liked being able to have a bright yellow background with a black foreground for my comments. Makes them much easier to see then the light silver default color.
  • 4 Mark Drew // Sep 22, 2008 at 4:13 PM

    this can already be done under the CFEClipse preferences.
  • 5 Ryan Miller // Sep 22, 2008 at 4:13 PM

    I saw more than a few items in the list that might be handled by other plugins. Thinks like remote difs and so on. There's seems to be a big split in the community right now between the folks who have adopted source control + ant and those that haven't. We are just getting started at my shop and we are all wondering why we waited so long. If I had a request for CFEclipse it would be a set of articles: "Getting the Most of out Eclipse for CF Developers"
  • 6 Mark Drew // Sep 22, 2008 at 4:13 PM

    Robert Blackburn has been going round doing articles about this over at Fusion Authority... I definitely recommend them. I am also in the process of re-designing and re-developing the cfeclipse.org site, and I hope this would help people get the most out of it.
  • 7 Matt Williams // Sep 22, 2008 at 4:13 PM

    Dude, you're a glutton for punishment. I think you should have the "Prove it's worth it" attitude more often. Also, once in a while you could remind people that this is an open-source deal and if they really, really want a feature, they can go add it.

    What you've done so far is amazing and I don't think I even need any more features. Thanks for the split window tip by the way. I used to use that in HomeSite quite often, but after going to Dreamweaver I learned to live without it. Now I'll have to re-evaluate.

    As far as help is concerned. CF Help is available via the Adobe RDS Plugin (cost: 5 minutes of your time to download & install). Your CF Administrator also has it. Make a shortcut; get help whenever you want.

    Long live CFEclipse!
  • 8 Mark Drew // Sep 22, 2008 at 4:13 PM

    I am answering most of these items since they are ideas I already have looked into and mainly in the process of developing them anyway. Alas, you are right, but they did ask if they had a Magic Wand :) I would clone myself or preferably someone smarter and get a lot of stuff implemented. I am a bit of a control freak in a way as I think there are right ways of doing things and wrong ways... and I would prefer to see things implemented in the "right" way... of course... I could be wrong :)