[Bug] 已被打开的文件被外部删除时文件关闭不了,并且导致Lithe IDEA关闭不了
Maintainers usually reply within 1 day
Nobody has claimed this yet.
Assessment
- Difficulty
- 3/5
- Estimated time
- 1-2 days
- Newbie friendliness
- 66/100
- Issue type
- Bug
- Clarity
- Clearly specified
- Activity status
- Active
- Tech stack
- typescript
- Domain
- desktop
Research direction
Start by reproducing the steps on Windows: open a saved file in the editor, delete it outside Lithe IDEA, then try closing its tab and the application. Trace how the editor handles the externally deleted file and its close action. Done means the deleted file's tab can be dismissed and Lithe IDEA can close normally, without recreating the file.
Written by the indexing model from the issue text.
Description
Platform / 平台
Windows
Area / 模块
UI / 界面
Lithe version / Lithe 版本
0.8.15
Priority / 优先级
P1 / 尽快处理:使用体验大幅下降,但通常仍可继续使用
OS and architecture / 操作系统与架构
Windows 10 22H2
Environment / 环境信息
No response
Steps to reproduce / 复现步骤
- 用Lithe IDEA打开一个项目,在其中新建一个文件,保存;
- 在编译器界面打开这个文件,让它在标签栏显示;
- 然后在Lithe IDEA之外删除这个文件,例如在文件资源管理器中删除这个文件;
- 回到Lithe IDEA,会发现这个文件标签无法关闭,提示“该文件已被外部删除,编辑器内容已保留”,并且提供了两个选项:“允许重新创建文件”、“加载磁盘版本”,选择前者会让重新创建这个文件,但是这个文件本应该被删除才对。如果不选择选项,那么这个文件标签将无法关闭,并且会导致Lithe IDEA无法被关闭
Expected behavior / 预期行为
预期:不在加载和显示被删除的文件,标签栏不再显示这个文件标签,Lithe IDEA可以被正常关闭
Actual behavior / 实际行为
被外部删除的文件标签无法被关闭,Lithe IDEA无法被正常关闭
Logs or diagnostic output / 日志或诊断输出
Screenshots or recordings / 截图或录屏
Checklist / 提交前检查
- I searched existing issues for duplicates. / 我已搜索现有 Issue,确认没有重复报告。
- I removed secrets and personal data from the report. / 我已从报告中移除敏感信息和个人数据。
- Dominant language
- TypeScript
- Stars
- 1.8k
- Forks
- 151
- Avg merge
- 3h 48m
- Merged PRs (30d)
- 571
Getting set up
This project ships no dev container, Dockerfile or contributing guide, so setting up is up to you: start from its README, and see our first-contribution guide for the general steps.
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
More from 1lck/Lithe-IDEA
-
review: medium
Difficulty 2/5 1-3 hours Newbie friendliness 78/100
1lck/Lithe-IDEA#2432 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 1/5 Under an hour Newbie friendliness 82/100
1lck/Lithe-IDEA#2431 ·
Maintainers usually reply within 1 day
-
refactor review: high
Difficulty 2/5 1-3 hours Newbie friendliness 72/100
1lck/Lithe-IDEA#2376 ·
Maintainers usually reply within 1 day
-
area:ui enhancement P2 platform:cross-platform refactor review: high
Difficulty 1/5 Under an hour Newbie friendliness 84/100
1lck/Lithe-IDEA#2365 ·
Maintainers usually reply within 1 day
-
review: medium
Difficulty 3/5 1-2 days Newbie friendliness 57/100
1lck/Lithe-IDEA#2434 ·
Maintainers usually reply within 1 day
Similar issues
-
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
Maintainers usually reply within 1 day
-
rel: fix
Difficulty 2/5 1-3 hours Newbie friendliness 68/100
Deltares/fews-web-oc#2400 ·
Maintainers usually reply within 1 day
-
Command bar: Tab-to-search on claude.ai falls back to Google site: search instead of opening a prompt on ClaudePossibly taken A pull request linked to this issue is open or already merged. Open
Difficulty 2/5 1-3 hours Newbie friendliness 84/100
ardia-browser/ardia#4426 ·
Maintainers usually reply within 1 day
-
Bug report: isValidISODateDashOnly accepts text before or after the date-timePossibly taken @bardrop claimed this today. Open
Difficulty 1/5 1-3 hours Newbie friendliness 88/100
pnp/cli-microsoft365#7713 ·
Maintainers usually reply within 1 day
-
Diagram: Journey Type: Bug / Error
Difficulty 2/5 1-3 hours Newbie friendliness 62/100
mermaid-js/mermaid-v13#1293 ·
Maintainers usually reply within 1 day