User defined keybindings should take precedence over installed tools
还没有人认领这个 Issue。
评估
调研方向
在 DrRacket 8.11.1 中使用 drracket-paredit 包和所示的用户键绑定文件,并通过 framework/keybinding-lang 重现该问题。首先跟踪用户定义的绑定和已安装工具的绑定是如何加载和排序的。完成标准是用户的 M-right 和 M-left 绑定具有优先级,并能跨越 sexpression 跳转。
由索引模型根据 Issue 内容生成。
描述
Intuitively installed DrRacket tools/extensions should take precedence over the builtin defaults, and settings that the user specifies should take precedence over that. This doesn't seem to be the case with keybindings.
To replicate:
A fresh install of Racket 8.11.1, install the drracket-paredit package, and use the menu to add the following user defined keybinding file.
#lang s-exp framework/keybinding-lang
(keybinding "m:right"
(λ (editor event)
(send editor forward-sexp)))
(keybinding "m:left"
(λ (editor event)
(send editor backward-sexp)))
Restart DrRacket, and attempting to M-right and M-left your way around fails to jump across sexpressions. Instead drracket-paredits binding (which it calls forward-atom and backward-atom) is used instead.
It looks like the order in which things are getting loaded should be swapped.
- 主要语言
- Racket
- 星标
- 517
- 派生
- 102
- 平均合并
- 20 分钟
- 30 天内合并 PR
- 1
环境准备
这个项目没有提供开发容器、Dockerfile 或贡献指南,环境需要你自己搭建:先看它的 README,通用步骤见我们的新手贡献指南。
从这里开始
- 先读完整个 Issue,再读项目的贡献指南。
- 在 Issue 下留言说明你要接手 —— 这能避免两个人做同样的事。
- Fork 仓库,在一个分支上完成修改。
- 提交 Pull Request,并在描述里引用这个 Issue 编号。
racket/drracket 的其他 Issue
-
难度 1/5 1 小时以内 新手友好度 88/100
-
难度 2/5 1-3 小时 新手友好度 62/100
-
难度 4/5 3-5 天 新手友好度 48/100
-
check-syntax
难度 4/5 3-5 天 新手友好度 48/100
-
难度 3/5 1-2 天 新手友好度 55/100
相似的 Issue
-
难度 2/5 1-3 小时 新手友好度 64/100
NucleusFramework/Nucleus#912 ·
维护者通常 1 天内回复
-
reproduced
难度 2/5 1-3 小时 新手友好度 74/100
anomalyco/opencode#62052 · 1 条评论 ·
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 85/100
维护者通常 1 天内回复
-
难度 2/5 1-3 小时 新手友好度 63/100
-
难度 1/5 1 小时以内 新手友好度 83/100
DioxusLabs/dioxus#6063 ·
维护者通常 1 天内回复