Repository navigation
Conversation
Contributor
|
这个不考虑支持,斜杠和顿号看键盘位置差的有点远了。 |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
背景与关联 / Context and related issue
/来打开命令建议,中文用户需要先切换到英文输入法才能输入/,操作成本高。主要改动 / Changes
、触发同一组命令建议,例如、rev匹配/review;普通文本中间输入、不触发。、只作为命令菜单触发符:选中命令后触发符与已输入前缀由命令节点替换,不残留在输入内容中,保存与执行仍是原有/command格式。/、$、@的现有行为不变。、打开建议与选择后替换。验证 / Verification
pnpm --filter @uselexora/lexora-buddy test:unit src/modules/tasks/widgets/composer/__tests__/chatComposerEditing.spec.ts通过;type-check通过;改动文件 eslint 通过。、rev出现命令建议并可选,提交后内容为/review。pnpm lint。兼容与风险 / Compatibility and risks
新增一个触发符,原有
/、@、$语义与命令格式不变;不涉及数据格式与存储。界面变更 / UI changes
输入框开头输入
、时出现命令建议下拉,行为与/一致。