[oXygen-user] Add static function name list for auto-completion in XQuery

Radu Pisoi
Tue Jun 16 08:53:34 CDT 2015


Hi Florent,

Unfortunately, there is no specific mechanism that can be used to augment the list of functions proposed by the content completion assistant when editing an XQuery document.

An alternative solution is to use the code templates support that can be customized for a certain document type. The addition of a new code template is possible by opening the 'Editor/Templates/Code Templates' preferences page. 

After you have defined your custom code templates, you can use them by invoking the 'Show Code Templates'(Ctrl + Shift + Space) action.

More about code templates support can be found in our documentation: http://www.oxygenxml.com/doc/versions/17.0/ug-editor/#topics/code-templates.html

Regards,
Radu
--
Radu Pisoi
<oXygen/>  XML Editor, Schema Editor and XSLT Editor/Debugger
http://www.oxygenxml.com

On 6/15/2015 5:38 PM, Florent Georges wrote:
>    Hi,
> 
>    Is there any way, in oXygen, to augment the list of function names
> to use for auto-completion when in an XQuery editor?
> 
>    Basically, a processor can add any function to the static context.
> So some functions can be called in a module (so should be available
> for code completion), even with no corresponding import statement.
> 
>    I have such a list of extra functions I would like to be available
> in oXygen when I write XQuery code (not to be evaluated, just for
> writing code).  The ideal solution woud not require having any
> specific scenario nor processor "attached" to the file.
> 
>    Is this possible?
> 
>    Regards,
> -- 
> Florent Georges
> http://fgeorges.org/
> http://h2oconsulting.be/
> 
> 
> 
> 
> _______________________________________________
> oXygen-user mailing list
> 
> http://www.oxygenxml.com/mailman/listinfo/oxygen-user
> 



More information about the oXygen-user mailing list