Fwd: Suggestions for autocomplete not opportune

Dear Oxygen people, In the Eclipse environment: I think the suggestions provided for autocomplete in an XSLT context are often not opportune. As can be seen in this case: [image: Inline afbeelding 1] It is not opportune to offert concat() when this is never correct after $con_: $ introduces a variable name in all cases. We are forced to enter $conf_ to access the right type of suggestion for autocomplete. Or is this some kind of option/setting? arjan

Hello Arjan, Please note that code templates are not context aware. You are talking about concat(), but Oxygen isn't proposing that, it proposes the code templates that start with "con". In this case it's the "conc" code template that does indeed expand to concat(), but Oxygen doesn't check if the expanded code template fits in that context. It is possible to disable individual code templates in the Oxygen preferences, Window > Preferences, oXygen (Options > Preferences in the standalone edition), Editor > Templates > Code Templates. Clear the box for the code template that bothers you. Regards, Adrian Adrian Buza oXygen XML Editor and Author Support Tel: +1-650-352-1250 ext.2020 Fax: +40-251-461482 On 25.06.2016 19:39, Arjan Loeffen wrote:
Dear Oxygen people,
In the Eclipse environment: I think the suggestions provided for autocomplete in an XSLT context are often not opportune. As can be seen in this case:
Inline afbeelding 1 It is not opportune to offert concat() when this is never correct after $con_: $ introduces a variable name in all cases. We are forced to enter $conf_ to access the right type of suggestion for autocomplete. Or is this some kind of option/setting?
arjan
_______________________________________________ oXygen-user mailing list oXygen-user@oxygenxml.com https://www.oxygenxml.com/mailman/listinfo/oxygen-user
participants (2)
-
Arjan Loeffen
-
Oxygen XML Editor Support (Adrian Buza)