CodeEditApp/CodeEdit

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

Open

#2030 aperta il 17 apr 2025

Vedi su GitHub
 (3 commenti) (0 reazioni) (1 assegnatario)Swift (1165 fork)batch import
buggood first issuenavigator

Metriche repository

Star
 (22.856 star)
Metriche merge PR
 (Nessuna PR mergiata in 30 g)

Descrizione

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.

Guida contributor