CodeEditApp/CodeEdit

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

Open

#2,030 opened on Apr 17, 2025

View on GitHub
 (1 comment) (0 reactions) (1 assignee)Swift (22,856 stars) (1,165 forks)batch import
buggood first issuenavigator

Description

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.

Contributor guide

🐞 Several “Cannot Find File” Alerts Appear After Renaming Files · CodeEditApp/CodeEdit#2030 | Good First Issue