fix(prompt): open slash menu when typing / anywhere#16836
Conversation
|
The following comment was made by an LLM, it may be inaccurate: Potential duplicate found:
I recommend checking PR #16263 to verify if it addresses the same issue or if the changes are complementary. |
d307b43 to
526ddd3
Compare
Allow slash autocomplete to follow the token at the caret and keep prompt parts aligned when prepending slash commands, so skills and inline command edits do not drop existing content.
526ddd3 to
9172b91
Compare
|
Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR. |
Issue for this PR
Closes #16826
Type of change
What does this PR do?
The slash command menu only opened when / was typed as the first character in the prompt. Changed the slash detection to scan text before the cursor position instead of only checking if / is at index 0, allowing the menu to open anywhere in the prompt.
How did you verify your code works?
Screenshots / recordings
Checklist