Templates/Code Completion in Eclipse Plugin Not Working

Having trouble installing Oxygen? Got a bug to report? Post it all here.
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Templates/Code Completion in Eclipse Plugin Not Working

Post by sanderson »

I'm using the latest oXygen plugin with Eclipse 3.1.1 M20050929-0840.

In the XSL editor, when I type a < the code completion window opens and life is good.

My problem is that other uses for content completion won't work. In other words, if I press CTRL-Space, I don't get a drop down of code completion options or templates. It does work in the Java and Ant editor in Eclipse, but not in the oXygen XML or XSLT editor view, so it appears to be an issue with my configuration of oXygen, not Eclipse.

In the preferences, oXygen | Editor | Content Completion, the checkbox "Use content completion" is checked.

Any ideas?
sorin_ristache
Posts: 4141
Joined: Fri Mar 28, 2003 2:12 pm

Post by sorin_ristache »

Hello,

First make sure that you use the oXygen plugin distribution for Eclipse 3.1, not the one for Eclipse 3.2. Both distributions are available on the Download page. After you press < and the content completion window opens automatically, press Esc, the window should be removed from screen, and press Ctrl + Space. Does the window appear again with the same content as when it was displayed automatically ?

In an XSL editor type ct outside any xsl:template and then press Ctrl + Space. Is the content completion window displayed ? What does it contain ?

Regards,
Sorin
sanderson
Posts: 51
Joined: Fri Jan 27, 2006 12:51 am

Post by sanderson »

Ah, I see now, I was trying to use the function differently. I expected that if I was in the XSL editor, and I was outside of a template, I could press CTRL-space to get to the completion menu, I didn't realize that I'd either have to type a < or type the abbrev for the template first.

So, stupid user error. Thanks for setting me straight.
Post Reply