Skip to main content

Module autocomplete

Module autocomplete 

Source
Expand description

Autocomplete provider for interactive editor input.

This module is intentionally rendering-agnostic: it takes editor text + cursor position and returns structured suggestions plus the range that should be replaced when applying a selection.

Current suggestion sources (legacy parity targets):

  • Built-in slash commands (e.g., /help, /model)
  • Prompt templates (/<template>) from the resource loader
  • Skills (/skill:<name>) when skill commands are enabled
  • File references (@path) with a cached project file index
  • Path completions when the cursor is in a path-like token

Structs§

AutocompleteCatalog
AutocompleteItem
AutocompleteProvider
AutocompleteResponse
NamedEntry

Enums§

AutocompleteItemKind