Page 1 of 1

Completion gives << instead of <

Posted: Wed Sep 14, 2005 10:19 am
by Ormek
Hi.
For some reason my eclipse plugin started to create << instead of < when I use the editor templates.

I type

<tm

I press CTRL+RETURN

I get:
<<xsl:template match="">

</xsl:template>


This started just recently, so it must be caused by some option I triggered but eclipse has so many options :-) Can anybody help me?

Thanks,
Oliver

Posted: Wed Sep 14, 2005 10:45 am
by george
Hi,

This is inserted through the code templates support. Use tm instead of <tm before pressing CTRL+Space.

Best Regards,
George

Posted: Wed Sep 14, 2005 11:17 am
by Ormek
Thanks, but when I type tm no completion is activated and pressing CTRL+SPACE or CTRL+RETURN does nothing except ...

THANKS. I activated Emacs key bindings and CTRL+SPACE is bound to 'set mark' there, while 'Content Assist' is bound to ALT+/. So, I just used the wrong keys.

Thanks for the pointer showing me my error. :-)
Oliver