Expand description
Tab completion for the Cortex interactive REPL.
Provides context-aware completion for slash commands, domain names (from the map cache), and page type names.
Structs§
- Cortex
Helper - Cortex REPL helper providing tab completion.
- Slash
Trigger - Event handler that inserts
/and then triggers Tab completion when the line is empty. This gives the Claude Code-style experience where pressing/immediately shows the command picker list. - TabComplete
OrAccept Hint - Event handler that auto-triggers completion after typing
/. When Tab is pressed and line starts with/, show the command list.
Constants§
- COMMANDS
- All available REPL slash commands.
Functions§
- bind_
keys - Bind custom key sequences to the editor for interactive command selection.
- suggest_
command - Find the closest matching command for a misspelled input (Levenshtein distance).