Skip to main content

Code Snippets

A snippet template .snippet is a special Lua file that describes how to generate plain-text code or other objects from the results of one or more "snippet pickers". Generated objects can be saved into XUI configuration, and text results can be inserted quickly in the code editor.

"Snippet pickers" are a set of predefined pickers used to produce inputs for a snippet. Supported picker types: