Sublime Forum

Single subdirectory not showing in folders list

#1

HI–

I’ve come across a bit of an odd problem and I’m not sure where to take my troubleshooting next. I wasn’t able to find any similar issue inquired about before, nor have I seen this issue before… so asking here now.

Any ideas on how to proceed would be very much appreciated.

The issue:

I have a project which has a list of ~20 folders added to the project. All of the added folders show in the folder listing fine. One of these added folders has two sub-directories and single regular file. In the folders list, I see one sub-directory and the regular file, but one of the sub-directories is not showing… and I cannot figure out why that would be the case.

Environment notes:

This is an Ubuntu 22.04.2 installation, the volume in question is EXT4. This is running in a VM. The directories in question are real directories, not symlinks or that sort of thing. The directories in question are in a Dropbox share. The Sublime Text version in question is: Stable channel build 4143.

What I’ve tried/checked:

  • That the sub-directory I’m expecting to see actually does exist.

  • That I can navigate to the sub-directory and its child directories and files using both the OS GUI file management tools and the command line.

  • That the sub-directory has the correct permissions & ownership (same as all the other directories which are displaying)

  • If I can see the sub-directory and its contents in other editors with similar “project folders” functionality.

  • Using the “Refresh Folders” option in Sublime Text.

  • Disable the “SideBarEnhancements”

  • Restarting Sublime Text.

  • Running some of these tests without Dropbox running as to eliminate contention from that service as a factor.

  • Removing the parent directory from the project folders list and adding it back again; doing these actions both using the Sublime Text GUI functions and by directly editing the .sublime-project file.

  • Killing the sublime-workspace file with Sublime Text closed and letting it be built fresh.

  • Adding the missing sub-directory, or some of its children folders, directly to the project. When I do this, the folder (or added child) is shown in the project folders list, but shows as having no contents, much like I’d expect if I added a non-existent directory to the projects folders list.

Conclusion:

Simply put, I’m stumped. I’ve tried everything I can think to try other than disabling plugins which aren’t obviously connected to side bar functionality (SideBarEnhancements was an easy call to try).

To the best of my knowledge, out of ~20 or so directories added as project folders, this is the only one with this problem. I’ve been working with this same project for well over a year and I’ve not run into this issue elsewhere in the project; I haven’t worked much with this specific project folder in Sublime Text, so I’m not sure if this is a long-standing problem that I’m just noticing or a recent change.

I have to think it’s environmental with the directory in the OS, but I’m not sure why Sublime Text would care and VSCode or the shell wouldn’t.

Anyway, any ideas for what to check next would be much appreciated.

Thanks,
Steve

0 Likes

#2

Does the folder match a pattern from the "folder_exclude_patterns" setting? Does it happen in safe mode?

1 Like

#3

Why… yes, yes it does. Very explicitly so as a matter of fact. sigh

Completely forgot that feature existed… but as soon as I saw your comment realized that had to be it. I set this a very long time ago; and I’ve only ever used the feature this once.

Many thanks and sorry to waste your time on something so simple.

1 Like