CodeEditApp/CodeEdit

๐Ÿž Project Navigator does not show external updates to files and folders

Opened this issue ยท 1 comments

Description

External updates to files and folders are not represented in the Project Navigator.

To Reproduce

File updates

  1. Open project
  2. Right-click a file in Project Navigator
  3. Click Show in Finder
  4. Rename the file
  5. Notice the Project Navigator does not reflect the changes

Folder updates

Attempt 1

  1. Open project
  2. Right-click a folder in Project Navigator (not the root folder)
  3. Click Show in Finder
  4. Move the folder to Trash
  5. Hit โŒ˜Z to undo and put it back
  6. Notice the Project Navigator removed the folder when deleted, but did not add it back when it was put back.

Attempt 2

  1. Open project
  2. Right-click a folder in Project Navigator (not the root folder)
  3. Click Show in Finder
  4. Move the folder to Trash
  5. Notice the Project Navigator removed the files in the folder when deleted, but not the folder itself.
  6. Hit โŒ˜Z to undo and put it back
  7. The files are back in the folder as expected

Expected Behavior

External changes should update the Project Navigator.

Screenshots

Screen.Recording.2024-11-12.at.9.46.25.AM.mov
Screen.Recording.2024-11-12.at.10.01.39.AM.mov

Hi! I've created a PR for this issue. Thanks!