Add support for spaces , in the text expander.
维护者通常 1 天内回复
还没有人认领这个 Issue。
评估
调研方向
Start by locating the text-expander shortcut matching and replacement logic, then read any nearby tests or configuration handling to understand how shortcuts are parsed. Add coverage for a shortcut containing a space and its replacement; done means the example pattern expands as described without breaking existing shortcuts.
由索引模型根据 Issue 内容生成。
描述
I’m not sure why, but currently spaces can’t be used inside shortcuts.
I think it would be better if blank spaces could also be used in text expander shortcuts. The use case is, for example, we could type [ and then press space, and it would turn into [%cursor%]. This would effectively bring one of the features of an IDE or text editor into the keyboard.
Shortcut:
{
Replace:
{%cursor%}
Or similar patterns used in programming.
- 主要语言
- Kotlin
- 星标
- 1k
- 派生
- 59
- 平均合并
- 13 小时 21 分钟
- 30 天内合并 PR
- 48
环境准备
- 没有 Dockerfile 或 Docker Compose 文件
- 有 Pull Request 模板
- 阅读贡献指南
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
LeanBitLab/LeanType 的其他 Issue
-
Voice input fails in browser address bars due to incorrect password field detection (v4.2.9, follow-up to #516)可能已有人在做 @LeanBitLab 于 1 天前认领。 未关闭bug
难度 2/5 1-3 小时 新手友好度 76/100
LeanBitLab/LeanType#713 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
LeanBitLab/LeanType#423 · 1 条评论 ·
维护者通常 1 天内回复
-
bug
难度 3/5 1-2 天 新手友好度 54/100
LeanBitLab/LeanType#717 ·
维护者通常 1 天内回复
-
Crush Report可能已有人在做 @LeanBitLab 于 1 天前认领。 未关闭
难度 3/5 1-2 天 新手友好度 20/100
LeanBitLab/LeanType#715 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
-
Text Expander/cursor-handling bug可能已有人在做 @LeanBitLab 于 3 天前认领。 未关闭bug
难度 3/5 1-2 天 新手友好度 62/100
LeanBitLab/LeanType#703 · 1 条评论 · 已指派 1 人 ·
维护者通常 1 天内回复
查看 LeanBitLab/LeanType 的全部 Issue
相似的 Issue
-
bug
难度 2/5 1-3 小时 新手友好度 78/100
software-mansion/enriched-markdown#1084 ·
维护者通常 2 天内回复
-
bug
难度 2/5 1-3 小时 新手友好度 72/100
lysine-dev/okhttp#9814 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 65/100
-
难度 2/5 1-3 小时 新手友好度 72/100
getdictus/dictus-android#187 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 79/100
bryangerlach/rdgen#319 ·