AI Autocompletion Preferences

Enable AI Autocompletion in Text page
Enables context-aware code snippet suggestions in the editor. When this option is selected, AI Positron provides intelligent autocompletion based on the current file content and structure.
Model
Specifies which AI model is used for generating autocompletion suggestions. Each model consumes a certain number of credits per token. If no other model is chosen, the gpt-4.1 model is used by default.
Include associated instance structure in prompt
Controls whether or not the AI Autocompletion action includes the structure of the input document in the prompt. When enabled (default), the included structure comes from the following, depending on the document type:
  • For XSLT and XQuery, it includes the structure of the XML document associated in the transformation scenario.
  • For schemas (XSD, Schematron, DTD, RNG, RNC), it includes the structure of the instance that has the schema associated in a validation scenario.
Editor Types
This table displays all the supported Oxygen editor types where AI Autocompletion can be activated. Use the checkboxes in this table to select which editors should have AI Autocompletion enabled.