Skip to content

In editor, command.fileTreeCallback cannot be triggered #8931

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

Closed
3 tasks done
WingDr opened this issue Aug 8, 2023 · 0 comments
Closed
3 tasks done

In editor, command.fileTreeCallback cannot be triggered #8931

WingDr opened this issue Aug 8, 2023 · 0 comments
Assignees
Milestone

Comments

@WingDr
Copy link

WingDr commented Aug 8, 2023

快捷键的editorCallback和filetree同时触发

Is there an existing issue for this?

  • I have searched the existing issues

Can the issue be reproduced with the default theme (daylight/midnight)?

  • I was able to reproduce the issue with the default theme

Could the issue be due to extensions?

  • I've ruled out the possibility that the extension is causing the problem.

Describe the problem

当在编辑器中使用快捷键执行命令时,editorCallback和fileTreeCallback会同时触发,而在文档树中只会触发fileTreeCallback,我认为前一个(在编辑器中的触发)是有问题的。

当我在编辑器里使用快捷键的时候,会出现下面这样的触发
屏幕截图 2023-08-08 161816

Expected result

在编辑器中应当只触发editorCallback,理论上最好4个触发应该是相互独立的吧,callback就只在命令面板里面触发

之前我以为是别的不存在就默认触发callback,但是试验了一下看起来也不是这样子的

Screenshot or screen recording presentation

No response

Version environment

- Version: 2.9.9
- Operating System: Windows
- Browser (if used):

Log file

null

More information

No response

@Vanessa219 Vanessa219 self-assigned this Aug 9, 2023
@Vanessa219 Vanessa219 added this to the 2.10.0 milestone Aug 9, 2023
Vanessa219 added a commit that referenced this issue Aug 9, 2023

Verified

This commit was signed with the committer’s verified signature.
@Vanessa219 Vanessa219 changed the title 快捷键的editorCallback和filetree同时触发 In editor, command.fileTreeCallback cannot be triggered Aug 9, 2023
Vanessa219 added a commit that referenced this issue Aug 9, 2023

Verified

This commit was signed with the committer’s verified signature.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants