Page 1 of 1

Templates/Code Completion in Eclipse Plugin Not Working

Posted: Fri Aug 04, 2006 7:56 pm
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?

Posted: Mon Aug 07, 2006 10:49 am
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

Posted: Mon Aug 07, 2006 7:00 pm
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.