
I am sorry, the code completion is not displayed regardless of the preceding characters. You need to have a space character and a prefix of the name of the code template already inserted in the document or at least a space character at the position of the cursor. We already have an issue logged in our system for displaying the code completion popup containing only code templates if there are no XML element names appropriate for the current context. We will implement it in a future version of Oxygen. Regards, Sorin Sorin Ristache wrote:
Hello,
Do you mean you define a code template in Options -> Preferences -> Editor -> Templates -> Code Templates which you want to insert in the document using the code completion popup window? Just press Ctrl + Space to kick off the code completion popup on demand regardless of the character that precedes the insertion point.
Regards, Sorin
Christian Wittern wrote:
Hi there,
We are using oXygen mainly to edit Chinese or Japanese text. In this case, words are not separated by whitespace. For a project we are having here, I am setting up snippets that should be inserted using code completion. However, Code Completion fires only after a whitespace character, so we have to input a spurious whitespace character to kick this off, which then has to be deleted again at some point. Hence my feature request: When doing a Code Completion, look at the character before the insertion point and fire if either there is a whitespace, or a character in the Unicode ranges for East Asian characters. This should be fairly easy to implement and have no negative impact on the current functionality.
All the best,
Christian