Coldfusion auto complete not working

165 views
Skip to first unread message

marc

unread,
Oct 4, 2008, 7:17:27 AM10/4/08
to CFEclipse Users
Hi,
If I start a coldfusion tag (like <cfimage) and type a space, nothing
happens. <Ctr><space> also does nothing.

What I want is a pulldown menu to appear with options specific to this
tag. I already set the 'Tag insight' option under
Window:Preferences:CFEclipse:Editor to several values (now 250). I
Installed a new version of Eclipse (3.4.1) and CFEclipse (1.3.2),
started Eclipse with the -clean switch and used a new workspace.
Didn't help, still I don't get a pulldown if I type a <cf> tag.

I wonder if this is an option in CFEclipse at all?

Thanks,

Marc

Jim Priest

unread,
Oct 4, 2008, 9:50:44 AM10/4/08
to cfeclip...@googlegroups.com
It's still there and works fine on Eclipse 3.3 - several people have
had issues with Eclipse 3.4.... Not sure if that's the issue but I'd
try doing a fresh install of 3.3 and see if it works there.

Jim

Tom Lenz

unread,
Oct 4, 2008, 10:15:03 AM10/4/08
to cfeclip...@googlegroups.com
In a file called .classpath in the org.cfeclipse.cfml.parser directory
there's what looks like references to eclipse 3.2.2 files:

<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/org.eclipse.jface.text_3.2.2.r322_v20070104.jar"/>
<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/org.eclipse.jface_3.2.2.M20061214-1200.jar"/>
<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/org.eclipse.swt.carbon.macosx_3.2.2.v3236.jar"/>

does that mean that if I try to replace these paths with say eclipse 3.4.1
files, it's not going to work?

Dan O'Keefe

unread,
Oct 5, 2008, 8:01:32 AM10/5/08
to cfeclip...@googlegroups.com
Have you tried removing and adding CFE Nature by right clicking on the
project in the Navigator and select "Add/Remove CFE Nature"? That did
the trick for me.

Dan

On Sat, Oct 4, 2008 at 7:17 AM, marc <marc.at...@gmail.com> wrote:
>

--
--------------
Dan O'Keefe

Jason Brookins

unread,
Oct 6, 2008, 9:40:34 AM10/6/08
to CFEclipse Users
I've added the CFE Nature to my project, but the autocomplete still
does not seem to be working for me, either.

Eclipse: Version: 3.3.2
CFE: 1.3.2.beta

Jim Priest

unread,
Oct 6, 2008, 9:48:39 AM10/6/08
to cfeclip...@googlegroups.com
Do you have any other plugins installed?

What version of Eclipse do you have installed? "Classic" with all the goodies?

Jim

webtek...@gmail.com

unread,
Oct 6, 2008, 9:49:28 AM10/6/08
to CFEclipse Users
Thank you for this post. Right clicking on the project in the
Navigator and selecting the "Add/Remove CFE Nature" worked for me.
This was driving me nuts. I did a google search and still was having
trouble finding a solution. The link from the CFEclipse.org site to
here solved my problem.
> > Dan O'Keefe- Hide quoted text -
>
> - Show quoted text -

wmoze

unread,
Oct 6, 2008, 9:56:43 AM10/6/08
to cfeclip...@googlegroups.com
I had installed a fresh instance of Eclipse 3.3.2 and then did the software update from CFEclipse.org.  After installing the CFE plugin the autoprompt was not working and driving me nuts trying to figure out how to endable it.  The solution posted online to Right click on the project and click the "Add/Remove CFE Nature" worked for me...
 
-wendall

Jim Priest

unread,
Oct 6, 2008, 10:22:28 AM10/6/08
to cfeclip...@googlegroups.com
I'll add this to the FAQ on the wiki...

marc

unread,
Oct 6, 2008, 1:07:37 PM10/6/08
to CFEclipse Users
Yes, that worked. Thanks!

firesteel

unread,
Oct 7, 2008, 4:35:20 AM10/7/08
to CFEclipse Users
Sorry if this is a repeat. According to my email client I sent this
message, but I don't see it on this group anywhere.

In a file called .classpath in the org.cfeclipse.cfml.parser
directory
there's what looks like references to eclipse 3.2.2 files:

<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/
org.eclipse.jface.text_3.2.2.r322_v20070104.jar"/>
<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/
org.eclipse.jface_3.2.2.M20061214-1200.jar"/>
<classpathentry kind="lib"
path="/Applications/eclipse/eclipse_3.2.2/plugins/

Marc Esher

unread,
Oct 7, 2008, 5:06:25 AM10/7/08
to cfeclip...@googlegroups.com
I don't believe that directory is necessary for compiling and running
the plugin... it's something else and if you're just trying to
contribute to the current cfeclipse, you shouldn't need it. I checked
out cfeclipse by using the team project set in the wiki and it's
worked great.

I wonder if that parser is something experimental?

for reference, using the team project set, you get these projects in eclipse:

org.cfeclipse.cfml (that's the biggun.... the one where most of the
action happens)
org.cfeclipse.cfml.cfunit
....core
....feature
....frameworks
....frameworks.fusebox
....update
org.cfeclipse.snipex.server

best,

marc

firesteel

unread,
Oct 7, 2008, 8:57:52 AM10/7/08
to CFEclipse Users
>. I checked
> out cfeclipse by using the team project set in the wiki and it's
> worked great.
>

Thanks, this was a big help. That got me from having several errors to
only 1972 warnings if I right click on org.cfeclipse.cfml and select
build project. I get a bunch of errors if I try to do that on the
other ones like org.cfeclipse.cfml.core. But I'm not clear if I should
even be trying any of that. Is there a step before doing the build
from the Site Manifest Editor or the Feature Manifest Editor?

Marc Esher

unread,
Oct 7, 2008, 9:16:36 AM10/7/08
to cfeclip...@googlegroups.com
i've never bothered trying to do a build from the site editor since
i've never actually contributed back to the project. when i've
tinkered with it, i just ran it in a debug session as described here:
http://trac.cfeclipse.org/cfeclipse/wiki/BuildingCFEclipse

best,

marc

Mark Drew

unread,
Oct 7, 2008, 9:21:55 AM10/7/08
to cfeclip...@googlegroups.com
Just check out the org.cfeclipse.cfml project. Unless you want to be
doing other stuff.

You then just run it in debug.

ping me at my gtalk account if you need help

MD

--
Mark Drew
Blog: http://www.markdrew.co.uk/blog/
LinkedIn: http://www.linkedin.com/in/mdrew

Jason Brookins

unread,
Oct 7, 2008, 11:21:46 AM10/7/08
to CFEclipse Users
I have JSEclipse (Adobe) installed, and that's it for other plug-ins.
I tried the Add/Remove CFE Nature on the project, but still no auto-
completing.

I looked at the log for Eclipse errors, and I saw this:

!ENTRY org.eclipse.ui.workbench 2 0 2008-10-07 09:30:39.701
!MESSAGE A handler conflict occurred. This may disable some commands.
!SUBENTRY 1 org.eclipse.ui.workbench 2 0 2008-10-07 09:30:39.702
!MESSAGE Conflict for
'AUTOGEN:::org.cfeclipse.cfml.frameworks.contribution1/
org.cfeclipse.cfml.frameworks.newAction':
HandlerActivation(commandId=AUTOGEN:::org.cfeclipse.cfml.frameworks.contribution1/
org.cfeclipse.cfml.frameworks.newAction,

handler=ActionDelegateHandlerProxy(null,org.cfeclipse.cfml.frameworks.popup.actions.SetFrameworkFile),

expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@661835),sourcePriority=16384)
HandlerActivation(commandId=AUTOGEN:::org.cfeclipse.cfml.frameworks.contribution1/
org.cfeclipse.cfml.frameworks.newAction,

handler=ActionDelegateHandlerProxy(null,org.cfeclipse.cfml.frameworks.popup.actions.SetAsConfigFolder),

expression=WorkbenchWindowExpression(org.eclipse.ui.internal.WorkbenchWindow@661835),sourcePriority=16384)

I'm not sure what this means, but I might just do a reinstall of
Eclipse to see whether that helps.

On Oct 6, 9:48 am, "Jim Priest" <pri...@thecrumb.com> wrote:
> Do you have any other plugins installed?
>
> What version of Eclipse do you have installed? "Classic" with all the goodies?
>
> Jim
>

firesteel

unread,
Oct 8, 2008, 12:48:50 AM10/8/08
to CFEclipse Users

> You then just run it in debug.

That's a great setup to be able to debug like that.

I made my change, it works (now those pesky two spaces get deleted
when I un-comment something), now I want to make it part of the
eclipse I use each day.

Mark Drew

unread,
Oct 8, 2008, 2:53:06 AM10/8/08
to cfeclip...@googlegroups.com
Create a ticket in trac, create a patch, attach it to the ticket and
then bug me like crazy to test and commit!

Sent from my iPhone

Tom Lenz

unread,
Oct 8, 2008, 3:29:20 AM10/8/08
to cfeclip...@googlegroups.com

> Create a ticket in trac, create a patch, attach it to the ticket and

Does patch simply mean modified version of the file?

> then bug me like crazy to test and commit!

IsSane() returns false.

Peter Boughton

unread,
Oct 8, 2008, 3:41:03 AM10/8/08
to cfeclip...@googlegroups.com
Does patch simply mean modified version of the file?

No, it generally means a diff file containing the modifications.

Once you've checked out the project, in the Team menu you will find a Create Patch option.

firesteel

unread,
Oct 8, 2008, 3:55:13 AM10/8/08
to CFEclipse Users


> Create a ticket in trac, create a patch, attach it to the ticket and  
done

> then bug me like crazy to test and commit!
bug bug bug

firesteel

unread,
Oct 10, 2008, 6:10:44 AM10/10/08
to CFEclipse Users
> i just ran it in a debug session as described here:http://trac.cfeclipse.org/cfeclipse/wiki/BuildingCFEclipse

When I do this, cfeclipse can't do drag and drop. I also managed to
create a plugin, copy it over to my eclipse directory, and it has the
same problem over there. Does that mean that the code in the
repository has a problem with drag and drop, or is it something I'm
missing on my own rig?

Marc Esher

unread,
Oct 10, 2008, 7:21:52 AM10/10/08
to cfeclip...@googlegroups.com
I just tried it, and I get the same behavior you get. I noticed in
CFMLEditor.java that the drag events all simply have a system.out call
and no real behavior. Maybe Mark could speak to that. I do know that
back in the day, Eclipse didn't come with drag and drop text out of
the box and cfeclipse rolled their own. maybe eclipse added it into
the core editor and so mark had to remove the stuff from cfeclipse?

firesteel

unread,
Oct 10, 2008, 7:35:19 AM10/10/08
to CFEclipse Users

>
> I just tried it, and I get the same behavior you get.

Thanks, it's helpful to know that it's not just my rig. I made myself
a plugin
that lets me adjust the background color of CFML comments, and
everything
else that used to work seems to still work.

Marc Esher

unread,
Oct 10, 2008, 7:46:35 AM10/10/08
to cfeclip...@googlegroups.com
you know, i seem to remember sometime within the last year someone
else adding background color functionality. and i remember that
someone (Denny V?) redid the preferences quite a bit, possibly adding
that support.

Denny, you out there? did you add that?

Seems like a good addition to cfeclipse.

denstar

unread,
Oct 11, 2008, 5:21:43 PM10/11/08
to cfeclip...@googlegroups.com
On Fri, Oct 10, 2008 at 5:46 AM, Marc Esher wrote:
>
> you know, i seem to remember sometime within the last year someone
> else adding background color functionality. and i remember that
> someone (Denny V?) redid the preferences quite a bit, possibly adding
> that support.
>
> Denny, you out there? did you add that?

I tried to organize the preference grouping a bit better, but did not
add any comment coloring options, I don't think.

I see "CFML Coloring" in there now though, and it seems to have
comment colors and stuff.

Throws an error for me (but my version is a little screwy, so...)--
although the color does change.

* * *

As for the cut and paste, I remember seeing the commented out stuff
when I was doing the mark occurrences stuff, and yes IIRC, that's now
in the main editor API, so we probably just need to hook into it.

--
Conquering any difficulty always gives one a secret joy, for it means
pushing back a boundary-line and adding to one's liberty.
Henri Frederic Amiel

Tom Lenz

unread,
Oct 11, 2008, 5:45:19 PM10/11/08
to cfeclip...@googlegroups.com

>
> Throws an error for me (but my version is a little screwy, so...)--
> although the color does change.

Same here.
"Error notifying a perference change listener..."


Mark Drew

unread,
Oct 13, 2008, 4:17:33 AM10/13/08
to cfeclip...@googlegroups.com
I integrated and checked in the patch for this and saw that there was
a casting error. There seem to be a few listeners to configuration
changes, some of these simply take a Boolean from check boxes, but of
course the colour change is an RGB object so I added a check for this.
Have. Look in the timeline for my latest check in.

From memory it's in the CFConfiguration file, line 784 (or there
abouts)

MD

Sent from my iPhone

Reply all
Reply to author
Forward
0 new messages