Sublime 4, build 4169, MacOS 14
I’m noticing in a new project with only a very small number of files in it (5 or 6 maybe), when I create a new file with Cmd-n and save it with a name, or when I use “New File” or “New Folder” from the “Folders” sidebar, the files/directories do in fact get created, but they don’t show up in the sidebar until I close the project and re-open it. Then the behavior persists.
Similarly, if I use “Rename” in the Folders sidebar, the file does get renamed, but the new name does not show up until I close/open the project.
I checked an older project that I was working on as recently as a couple weeks ago, and now it is displaying the same behavior.
My Sublime installation has gotten weird lately in general; lots of spinning rainbow disks at odd times, etc. Otherwise, the machine is in constant use for other purposes, and in particular I’ve spent a year and a half using it on that machine without any such problems (I would absolutely have noticed).
edit — this is basically the same behavior as described in issue 2509, long closed now.
edit again —I should also mention that forcing a project “Refresh Folders” does work, without any weird delay.
Update
A simple reboot (at the end of a MacOS update, which itself might have been part of the solution, but I doubt it) seems to have cleared this up. So if you’re reading this question because your MacOS Sublime is acting strangely, try a reboot. I didn’t for hours because it’s rarely necessary in my opinion, and I was busy trying to get some work done.