[Bug] 已被打开的文件被外部删除时文件关闭不了,并且导致Lithe IDEA关闭不了
Los mantenedores suelen responder en 1 día
Nadie ha tomado este issue todavía.
Evaluación
- Dificultad
- 3/5
- Tiempo estimado
- 1-2 días
- Aptitud para principiantes
- 66/100
- Tipo de issue
- Error
- Claridad
- Bien especificado
- Estado de actividad
- Activo
- Stack tecnológico
- typescript
- Área
- desktop
Línea de trabajo
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.
Escrito por el modelo de indexación a partir del texto del issue.
Descripción
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. / 我已从报告中移除敏感信息和个人数据。
- Lenguaje dominante
- TypeScript
- Estrellas
- 1.8k
- Forks
- 151
- Merge medio
- 3 h 48 min
- PR fusionados (30 d)
- 571
Preparar el entorno
Este proyecto no incluye contenedor de desarrollo, Dockerfile ni guía de contribución, así que la configuración corre por tu cuenta: empieza por su README y consulta nuestra guía para la primera contribución para los pasos generales.
Primeros pasos
- Lee el issue completo y luego la guía de contribución del proyecto.
- Comenta en el issue que vas a ocuparte — evita que dos personas hagan lo mismo.
- Haz un fork del repositorio y trabaja en una rama.
- Abre un pull request que haga referencia al número del issue.
Más de 1lck/Lithe-IDEA
-
review: medium
Dificultad 2/5 1-3 horas Aptitud para principiantes 78/100
1lck/Lithe-IDEA#2432 ·
Los mantenedores suelen responder en 1 día
-
review: medium
Dificultad 1/5 Menos de una hora Aptitud para principiantes 82/100
1lck/Lithe-IDEA#2431 ·
Los mantenedores suelen responder en 1 día
-
refactor review: high
Dificultad 2/5 1-3 horas Aptitud para principiantes 72/100
1lck/Lithe-IDEA#2376 ·
Los mantenedores suelen responder en 1 día
-
area:ui enhancement P2 platform:cross-platform refactor review: high
Dificultad 1/5 Menos de una hora Aptitud para principiantes 84/100
1lck/Lithe-IDEA#2365 ·
Los mantenedores suelen responder en 1 día
-
review: medium
Dificultad 3/5 1-2 días Aptitud para principiantes 57/100
1lck/Lithe-IDEA#2434 ·
Los mantenedores suelen responder en 1 día
Todos los issues de 1lck/Lithe-IDEA
Issues similares
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 84/100
Los mantenedores suelen responder en 1 día
-
Dificultad 2/5 1-3 horas Aptitud para principiantes 74/100
posit-dev/positron-sas-extension#196 ·
Los mantenedores suelen responder en 1 día
-
bug composer
Dificultad 2/5 1-3 horas Aptitud para principiantes 82/100
inmanta/web-console#8037 ·
Los mantenedores suelen responder en 1 día
-
Add: AlFajer Palestine FHDAbiertocheck:passed streams:add
Dificultad 2/5 1-3 horas Aptitud para principiantes 67/100
Los mantenedores suelen responder en 1 día
-
bug: v5 dist/types/components.d.ts imports @stencil/core/runtime instead of ./stencil-public-runtimeAbierto
Dificultad 2/5 1-3 horas Aptitud para principiantes 76/100
Los mantenedores suelen responder en 1 día