(Translated by https://www.hiragana.jp/)
[BUG] Keyboard shortcut 快捷键面板中快捷键设置无效 · Issue #3820 · opensumi/core · GitHub
Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[BUG] Keyboard shortcut かいとし键面ばんちゅうかいとし键设おけ无效 #3820

Open
chcarmen opened this issue Jul 2, 2024 · 7 comments
Labels
🐞 bug Something isn't working

Comments

@chcarmen
Copy link

chcarmen commented Jul 2, 2024

Keyboard shortcut かいとし键设おけ无效

image

复现みち(To Reproduce

  1. 如上じょじょうおさむあらため任意にんいかいとし
  2. IDE じゅう启后,配置はいち失效しっこう

预期ひょう现(Expected behavior
IDE じゅう启后,てい配置はいち保留ほりゅう

环境しんいき(Environment)

  • OS: macOS 11.2
  • Browser: electron
  • OpenSumi Version: 3.1.3
@chcarmen chcarmen added the 🐞 bug Something isn't working label Jul 2, 2024
@erha19
Copy link
Member

erha19 commented Jul 3, 2024

@chcarmen おさむあらためかんてき配置はいちぶんけんかいうつしいれ ~/.sumi/keymaps.json ない,检查一下写入是否正常,じゅう启后存在そんざいおさむあらため内容ないよう

@chcarmen
Copy link
Author

chcarmen commented Jul 3, 2024

[
  {
    "when": "dialogViewVisible",
    "command": "dialog.ensure",
    "key": "O"
  }
]

这是てき keymaps.json, ゆううつしいれわが更新こうしんてきかいとし键。ただし是重これしげ启 IDE きさき,还是だま认的。

截屏2024-07-03 上午11 40 09

@erha19
Copy link
Member

erha19 commented Jul 5, 2024

@chcarmen ぼつゆう复现你的问题,のうざい ide-electron 项目ちゅう复现该问题?

@chcarmen
Copy link
Author

chcarmen commented Jul 8, 2024

就是 ide-electron , もと于框 3.1.3

@chensimeng
Copy link

@chcarmen ぼつゆう复现你的问题,のうざい ide-electron 项目ちゅう复现该问题?

しも最新さいしんてき ide-electron 项目,のう浮现かいとし保存ほぞんしつ败的问题!

@chensimeng
Copy link

D3638F22-5911-4BD2-B141-EC96036E9FFA
更新こうしんかいとし键cursorUp为command+Kきさき紧没ゆうおさむあらため成功せいこう,还会动多いち个cursorUpてき出来でき如上じょじょう

@erha19
Copy link
Member

erha19 commented Jul 10, 2024

@chensimeng 设置及保存ほぞんかいとし键的しょう关逻辑在这里

setKeybinding = (raw: Keybinding, keybinding: Keybinding) =>

恢复かいとし键的逻辑ざい

async reconcile(keybindings?: KeymapItem[]) {

以尝试调试定いち,暂时ぼつ时间はい查这个问题

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
🐞 bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants