[Feature]: 新增侧边栏文件资源管理器快捷操作
Feature Description
- 类似vscode文件/目录的快捷键键盘操作
https://github.com/user-attachments/assets/cd17ea10-a6e4-4211-932c-4b34053c47c2
Background
- 目前yn的侧边文件资源管理器不支持上述快捷操作。如果需要重命名、移动文件等操作则需要打开系统的explorer,步骤稍微有点长,故希望加入上述功能。
Expected Behavior
- 重命名
- 删除
- 复制剪切粘贴
- 新建 [低优]
Proposed Solution (Optional)
Additional Information (Optional)
Hello, we tried to solve the issue.
This is what we did:
Added keyboard shortcuts for rename, delete, copy, cut, and paste operations in the Tree component. Also added a new file creation shortcut.
You can review changes in this commit: https://github.com/endic-sam928281/purocean-yn-379/commit/b0d670c12d1e0b0d2f2bdcc434ca564530769e02.
[!CAUTION] Disclaimer: The concept of solution was created by AI and you should never copy paste this code before you check the correctness of generated code. Solution might not be complete, you should use this code as an inspiration only.
Latta AI seeks to solve problems in open source projects as part of its mission to support developers around the world. Learn more about our mission at https://latta.ai/ourmission . If you no longer want Latta AI to attempt solving issues on your repository, you can block this account.