CodeEditApp/CodeEdit

🐞 Several “Cannot Find File” Alerts Appear After Renaming Files

Open

#2,030 创建于 2025年4月17日

在 GitHub 查看
 (1 评论) (0 反应) (1 负责人)Swift (22,856 star) (1,165 fork)batch import
buggood first issuenavigator

描述

Description

After manually renaming a file in the project navigator and clicking away to commit the change, multiple alerts appear saying: "Cannot find file" — even though the rename appears to succeed.

Steps to Reproduce

  1. Manually rename a file in the project navigator.
  2. Click away to commit the new name.
  3. Observe multiple "Cannot find file" alerts.

Expected Behavior

  • The rename should complete silently with no errors, assuming the file exists and is correctly renamed.

Actual Behavior

  • Several alerts appear saying the file cannot be found, despite it appearing correctly renamed.

Version Information

macOS: 15.4 Beta (24E5238a)
CodeEdit: Version 0.3.4-alpha (45)

Additional Context

This may be related to how the rename operation is propagated or when the file is registered with the internal file system state.

贡献者指南