mirror of
https://github.com/QwenLM/qwen-code.git
synced 2026-07-10 01:29:17 +00:00
When slash completion fuzzy-matches both a command's primary name and another command's alias (altName) at the same match strength, the shorter string wins on fzf score — e.g. typing /re ranks 'clear' (via its 'reset' alias) above 'resume', because 'reset' is shorter. Add a name-vs-alias dimension to the sort chain so that a command's own name always ranks above an alias match, regardless of fzf score. This resolves 5 known prefix collision cases (/re, /co, /su, /ex, /ta) where an alias from one command would appear before the intended name match of another command. Signed-off-by: Alex <alex.tech.lab@outlook.com> Co-authored-by: Qwen-Coder <qwen-coder@alibabacloud.com> Co-authored-by: Shaojin Wen <shaojin.wensj@alibaba-inc.com> |
||
|---|---|---|
| .. | ||
| acp-bridge | ||
| channels | ||
| cli | ||
| core | ||
| desktop | ||
| sdk-java | ||
| sdk-python | ||
| sdk-typescript | ||
| vscode-ide-companion | ||
| web-shell | ||
| web-templates | ||
| webui | ||
| zed-extension | ||