Skip to content

feat(vscode-extension): improve slash command selection and sort order#164

Open
asxiuxiu wants to merge 1 commit into
MoonshotAI:mainfrom
asxiuxiu:feat/vscode-slash-command
Open

feat(vscode-extension): improve slash command selection and sort order#164
asxiuxiu wants to merge 1 commit into
MoonshotAI:mainfrom
asxiuxiu:feat/vscode-slash-command

Conversation

@asxiuxiu

Copy link
Copy Markdown
  • Insert slash command at cursor position with proper focus handling instead of sending message immediately and clearing input
  • Add scoreMatch() to rank slash command matches by relevance (exact match > prefix match > description prefix > description contains)
  • Reset selected index when filtered command list changes

- Insert slash command at cursor position with proper focus handling
  instead of sending message immediately and clearing input
- Add scoreMatch() to rank slash command matches by relevance
  (exact match > prefix match > description prefix > description contains)
- Reset selected index when filtered command list changes
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant