Auto-completion annoyance (v7)
Posted: Fri Feb 24, 2006 9:12 pm
Hi,
the obviously changed handling for code completion (compared to v6) currently consistently drives me crazy, I'm sorry to say. Maybe it's all just a matter of settings, so here are some examples:
EXAMPLE 1
Suppose we have the following document:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:template match="a">
<xsl:apply|
</xsl:template>
</xsl:stylesheet>
with '|' indicating the current cursor position. I want to write an <xsl:apply-templates />, which is quite common in template bodies.
However, with Tag-insight ON, as soon as I type the next character, '-', oXygen completes this to <xsl:apply-imports></xsl:apply-imports> which is virtually never what I want.
With Tag-insight OFF, typing Ctrl-Space to open the menu then typing '-', the same completion happens.
EXAMPLE 2
With Tag-insight ON, assume I want to add a literal result element. So I write:
<elem attr="{|"
(Again, | indicates current cursor position.)
In this situation, I want to fill the AVT by using the expression @xattr. However, oXygen will not let me type the '@' character in this state, unless I explicitly close the completion suggestion dropdown (which automatically oppped up after typing the opening brace) using the ESC key.
How can I configure oXygen to not auto-complete text when there's more than precisely one possible choice to continue, and to keep typing on even when the dropdown is already open?
I'm running on Mac OS X 10.4.4.
Thanks, Christian.
the obviously changed handling for code completion (compared to v6) currently consistently drives me crazy, I'm sorry to say. Maybe it's all just a matter of settings, so here are some examples:
EXAMPLE 1
Suppose we have the following document:
<?xml version="1.0" encoding="UTF-8"?>
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="2.0">
<xsl:template match="a">
<xsl:apply|
</xsl:template>
</xsl:stylesheet>
with '|' indicating the current cursor position. I want to write an <xsl:apply-templates />, which is quite common in template bodies.
However, with Tag-insight ON, as soon as I type the next character, '-', oXygen completes this to <xsl:apply-imports></xsl:apply-imports> which is virtually never what I want.
With Tag-insight OFF, typing Ctrl-Space to open the menu then typing '-', the same completion happens.
EXAMPLE 2
With Tag-insight ON, assume I want to add a literal result element. So I write:
<elem attr="{|"
(Again, | indicates current cursor position.)
In this situation, I want to fill the AVT by using the expression @xattr. However, oXygen will not let me type the '@' character in this state, unless I explicitly close the completion suggestion dropdown (which automatically oppped up after typing the opening brace) using the ESC key.
How can I configure oXygen to not auto-complete text when there's more than precisely one possible choice to continue, and to keep typing on even when the dropdown is already open?
I'm running on Mac OS X 10.4.4.
Thanks, Christian.