[Feature]: Slash-command autocomplete should trigger mid-input, not only at the start of the composer #6962
Sumstead72
started this conversation in
Ideas
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
Before submitting
Area
apps/web
Problem or use case
The slash-command picker only appears when
/is the first character in the composer.Typing
/anywhere later in the input inserts a bare slash with no command list, sothere is no way to discover or complete a second command in the same message.
I frequently invoke multiple skills/commands in one prompt. Today that means either
typing the later command names from memory (no completion, no validation), or writing
the second command first and editing around it.
Repro
/— the command list appears. Pick a command./again mid-input.Proposed solution
Trigger the command picker on any
/that begins a token — i.e./at the start of theinput or preceded by whitespace/newline — not only at offset 0. Same trigger and
completion behavior as the first one, inserting at the cursor.
Suggested guards so this does not fire on paths or URLs:
/is preceded by start-of-input or whitespace.@filemention.Why this matters
Chaining commands in one message is a normal workflow, and it is currently the only
composer affordance that is position-locked.
@filementions already work mid-prompt(#922 fixed exactly this for
@), so/is the odd one out — the inconsistency is whatmakes it surprising rather than just limiting.
Smallest useful scope
Whitespace-preceded
/triggers the picker and inserts at the cursor. No change toranking, fuzzy matching, or multi-command execution semantics.
Alternatives considered
Typing later commands from memory, or composing the message out of order. Both work but
lose discovery and typo-catching for every command after the first.
Examples or references
(closed as completed); this is the
/parity case.Environment
T3 Code 0.0.34 (nightly), Windows 11.
All reactions