A couple of people asked for a way to bind specific keyboard shortcuts to snippets but that's not really possible with the way Eclipse handles shortcuts. That's why you have the keyword followed by a key command (shift-control-.) to insert shortcuts. Of course, we're open to suggestions on improving that so feel free to download the CFEclipse source and try stuff out...
Other than that specific issue, folks asked for "improvements" and "better customization" so let's have some comments around that, nailing down what it is you really want.
A general impression I get is that folks would like to see a HomeSite-compatible set of keyboard shortcuts where possible. What about situations where a HomeSite keyboard shortcut differs from, say, a Dreamweaver shortcut or a Flex Builder 2 shortcut or some other Eclipse plugin? Is consistency within Eclipse more important? Is Dreamweaver compatibility also a desire?
What specific keyboard shortcuts do you miss?
But, I would like to use CTRL-U for upper and CTRL-L for lowercase. I have tried, many times, to map these both with the Eclipse setting window and I haven't ever gotten both to work consistently.
More than likely this is something I am doing wrong.
On a different, but, related note: Many of us in my office use different editors. Along with that we have grown accustomed to different keymaps. For instance some guys like vi, some like brief, others like the standard "windows" keymap (I don't know what it is called). It would be handy if there were a way to quickly switch between these different "standard" keymap settings. (if that already exits - well, then maybe I should mess with Eclipse more before talking again :O) )
I'm sure that's the argument that won the day at Microsoft many a time - "Well, those user requirements don't really fit with our codebase, so why don't we just do it this way ... ". It's also the argument that seems to have launched Alan Cooper's career as an interaction designer - in the diametrically opposite direction.
It's kind of funny actually to recognize his "Inmates are running the asylum" observation at work here, in an application built for developers by developers.
WORD WRAP? NO! ... it's easier to use the horizontal scroll bar for every line that's wider than the window!
CUSTOMIZABLE SHORT CUTS? NO! ... it's easier to make everyone use and memorize a standard set of shortcuts that we define for them!
This is a light-hearted post, btw! I'm giggling to myself as i write this out. Sean, you know, maybe we could convince Raymond Camden set the default width of the BlogCFC layout to 2850 pixels and release it as an update so we could all learn to enjoy that horizontal scroll bar feature.
;) Nando
So to make everyone happy, I'd think the two different shortcut-key-camps just be given a way to import a set of shortcuts that are created for each of their own needs.
Eclipse camp would match existing eclipse shortcuts, and maybe should be the default since cfeclipse is only a plugin.
The homesite camp would match homesite shortcuts as closely as possible, and overwrite eclipse keys when necessary.
Then after that the user applies either set they are still free to customize them to their hearts content.
Jordan
So when adding new shortcut features please be mindful of existing or default shortcuts w/in Eclipse to prevent duplicate effort or keys.
-Jason
I know you're fooling around a bit, but I don't think anyone has said "its not possible" - more like "its going to be hard and take a real long time".
Line wrap would be nice, but if its at the expense of 4 other features, I can live without it.
Also I fully support the idea of a consistent set of keyboard short cuts across the board. The advantages are much like having the accelerator, brake and clutch in the same place on all cars.
However this universal set of short cuts needs to be configured exactly the way *I* want it ;)
Mark
1. I miss the functionality to "Select Full Tag". I have a keyboard shortcut for that action in Homesite+ and used it frequently.
2. Would be nice if the snippet trigger text wasn't as character restricted. I want to be able to enter "/*" and have CFEclipse fill in the "* */" with my cursor happily in place to type my comment. The character restrictions mean I have to remember some additional keystrokes that are not part of the syntax itself. A minor annoyance.
I have to say since I have switched to CFE, my typing has gotten better and faster due to this issue :-).
Some of the keyboard shortcuts I miss most: -All HTML table tags -CFabort -CF query with datasource="#database#" -Several custom add edit form snippets.
This next thought is a bit off topic, but if keyboard shortcut binding is added to CFE, could the ability to bind keyboard shortcuts to saved find and replace patterns also be added? This would allow you do hit a keystroke and process the selected text with a find regular expression find and replace that you have stored. Real handy for converting a list of values into a list or into a quoted list. Or what ever else you find yourself doing over and over again with the find and replace box.
Keep up the good work.
I really like what Joe Rinehart did with Arf TV. Simple video demos really show a lot. The same for CFEclipse would go along way to spreading knowledge of how the tool is used.
http://www.piurl.com/1_XZ


