Sublime Forum

New files and dirs not showing in folder sidebar

#1

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.

0 Likes

#2

Are you using a networked file system? Are there any errors in the console (View > Show Console)?

0 Likes

#3

No, local storage (like, the laptop main drive).

I don’t see anything like an error in the console. When a make and save a new file in a project directory, and it doesn’t show up, I see no messages. When I force a “Refresh Folders”, it works but there are no messages.

My Sublime installation on a very very similar MacBook (except on 4173), things work fine.

Also, to repeat, this is basically a brand new directory with a few new files in it. It’s not a project that’s been active for any amount of time.

The only thing that seems suspicious (note that I know nothing about internals) is a message about “ignored packages” being updated to ["Package Control", "Vintage"]

0 Likes

#4

Could you provide the full output of the console?

0 Likes

#5

Yes:

git: tracking working dir /Users/m5/src/columbo
no command for selector: noop:
reloading python 3.3 plugin Package Control.1_reloader
reloading python 3.3 plugin Package Control.2_bootstrap
reloading python 3.3 plugin Package Control.Package Control
Package Control: Not running package cleanup since bootstrapping is not yet complete
reloading settings Packages/User/Package Control.sublime-settings
reloading settings Packages/User/Preferences.sublime-settings
ignored packages updated to: ["Package Control", "Vintage"]
unloading python 3.3 plugin Package Control.1_reloader
unloading python 3.3 plugin Package Control.2_bootstrap
unloading python 3.3 plugin Package Control.Package Control
reloading settings Packages/Package Control/Package Control.sublime-settings

That is the entire content.

0 Likes

#6

Can you restart Sublime Text; that’s missing a lot of stuff that normally gets logged.

0 Likes

#7

Doing that now, but this is one of those times where I get a “busy” indicator while it saves a single file. I’ll follow up.

edit — from the ps output, it looks like it’s trying to send a crash report.

also taking forever to start. I killed the crash report process because it showed no sign of activity, and the crash report directory was completely empty anyway.

0 Likes

#8

From startup:

startup, version: 4169 osx arm64 channel: stable
executable: /Applications/Sublime Text.app/Contents/MacOS/sublime_text
application: /Applications/Sublime Text.app
working dir: /
packages path: /Users/m5/Library/Application Support/Sublime Text/Packages
state path: /Users/m5/Library/Application Support/Sublime Text/Local
zip path: /Applications/Sublime Text.app/Contents/MacOS/Packages
zip path: /Users/m5/Library/Application Support/Sublime Text/Installed Packages
ignored_packages: ["Package Control", "Vintage"]
pre session restore time: 20.4674
OpenGL Context Information:
  GL API Version: 4.1 Metal - 88
  GLSL Version: 4.10
  Vendor: Apple
  Renderer: Apple M1 Pro
startup time: 20.7581
git: using configuration from system git install
git: tracking working dir /Users/m5/src/columbo
error: Error loading syntax file "Packages/Grails/Controller/GrailsController.tmLanguage": Unable to open Packages/Grails/Controller/GrailsController.tmLanguage
first paint time: 21.2565
error: Error loading syntax file "Packages/Grails/View/GSP.tmLanguage": Unable to open Packages/Grails/View/GSP.tmLanguage
error: Error loading syntax file "Packages/Grails/Service/GrailsService.tmLanguage": Unable to open Packages/Grails/Service/GrailsService.tmLanguage
git: tracking working dir /Users/m5/boundless/netsuiterestclient
git: tracking working dir /Users/m5/boundless/wicketns
environment variables loaded using: /bin/zsh -l
reloading python 3.3 plugin 0_package_control_loader.00-package_control
reloading plugin Default.arithmetic
reloading plugin Default.auto_indent_tag
reloading plugin Default.block
reloading plugin Default.colors
reloading plugin Default.comment
reloading plugin Default.convert_color_scheme
reloading plugin Default.convert_syntax
reloading plugin Default.copy_path
reloading plugin Default.echo
reloading plugin Default.exec
reloading plugin Default.fold
reloading plugin Default.font
reloading plugin Default.goto_line
reloading plugin Default.history_list
reloading plugin Default.html_print
reloading plugin Default.indentation
reloading plugin Default.install_package_control
reloading plugin Default.keymap
reloading plugin Default.kill_ring
reloading plugin Default.mark
reloading plugin Default.new_templates
reloading plugin Default.open_context_url
reloading plugin Default.open_in_browser
reloading plugin Default.pane
reloading plugin Default.paragraph
reloading plugin Default.paste_from_history
reloading plugin Default.profile
reloading plugin Default.quick_panel
reloading plugin Default.rename
reloading plugin Default.run_syntax_tests
reloading plugin Default.save_on_focus_lost
reloading plugin Default.scroll
reloading plugin Default.set_unsaved_view_name
reloading plugin Default.settings
reloading plugin Default.show_scope_name
reloading plugin Default.side_bar
reloading plugin Default.sort
reloading plugin Default.switch_file
reloading plugin Default.symbol
reloading plugin Default.transform
reloading plugin Default.transpose
reloading plugin Default.ui
reloading plugin CSS.css_completions
reloading plugin Diff.diff
reloading plugin HTML.encode_html_entities
reloading plugin HTML.html_completions
plugins loaded
git: tracking working dir /Users/m5/boundless/tyson
Saving the session file took longer than expected. This may result in slowdowns and is usually caused by large unsaved files, large number of selections or misbehaving plugins. (build: 86ms, encode: 30ms, write: 4ms)
git: tracking working dir /Users/m5/boundless/quodlibetns
git: tracking working dir /Users/m5/boundless/wicketadminns
git: tracking working dir /Users/m5/boundless/wicketmodelns
git: tracking working dir /Users/m5/boundless/netsuite-db-migration
git: tracking working dir /Users/m5/boundless/newqu
git: tracking working dir /Users/m5/boundless/vendor3
0 Likes

#9

I’m now trying “reverting” to a fresh install, that’s making no difference; it still basically hangs on startup.

What do I do to completely uninstall it and reinstall? It is now basically completely unusable.

OK, I moved the directory from Applications to trash, downloaded 4169 again, and installed it. Now when I start it up, it does not take forever. However, the problem with not showing new files or renamed files, and not un-showing deleted files, persists as before.

edit spoke too soon, spinning rainbow on startup again. I want to repeat that I can and do run things like IntelliJ Idea on this thing just fine, and web servers, database servers, etc etc, without issue. And until about a week or two ago, Sublime worked flawlessly.

0 Likes

#10

Reinstalling does not affect installed plugins. Please try safe mode.

0 Likes

#11

I will. Currently updating the machine to 14.1.1.

edit — note that I don’t have many plugins, if any at all.

0 Likes

#12

Well, rebooting (probably not upgrading the OS) has fixed it. Generally I don’t think to do that because it’s exceedingly rare on MacOS for that to help anything. But, first (or maybe second) time for everything.

0 Likes

#13

I truly appreciate the help, by the way. Thank you, I know you have better things to do than think about what turns out to be a non-problem (well a non-Sublime-problem).

0 Likes