Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SideBar folders and files not refreshing #6508

Open
thespacecowboys45 opened this issue Oct 6, 2024 · 3 comments
Open

SideBar folders and files not refreshing #6508

thespacecowboys45 opened this issue Oct 6, 2024 · 3 comments

Comments

@thespacecowboys45
Copy link

Description of the bug

Hi, I am experiencing something similiar, when creating new files.

I do happen to have sublime interconnected with the local-filesystem, on a WIndows machine.

So, like: Project >> add Folder ( and then this is the mapping which shows up in sidebar )

When I right-click and create a new file (or folder), the actual file is created on the filesystem. I can see it in c:\programming\python_stuff\mynewfile.py (exists).

However, the left-nav sidebar does not show this file.

This seems 100% reproducible on my end.

I'm running Build 4180 of Sublime text IDE.

Steps to reproduce

Open new sublime IDE window (blank slate).
Create new project.
Add folder to project (navigate to c:\programming\python\awesome1, select and submit)
Save project -> save the SUBLIME project in the same directory.

Do work - create code, etc.

I just really have picked up on this behavior, so I have a lot of files that have been created in my project (mostly by doing an SFTP sync with a remote server). However, that is a unique thing is in that I have a remote server configured with an sftp-config.json file.

Nonetheless:

To reproduce:

right-click, add new file. This brings up an unsaved file.

I literally type the file name into the contents of the file, then hit ctrl-S (on Windows) to save.

This pops up dialog box which shows where and filename to save.

Save file.

[ at this point, check filesystem - yup! file exists on filesystem..

Can continue to edit in the IDE , save changes, etc.

However - no file shows up in the sidebar.

WORKAROUND!!!

Close project.
Re-open project.
All file appear properly in the left-nav sidebar.

Expected behavior

when new file created, it gets created on the filesystem, and reflected as existing in the left-nav sidebar.

Actual behavior

File gets created.
Filename does not appear in the left-nav sidebar.

Sublime Text build number

4180

Operating system & version

Windows 11

(Linux) Desktop environment and/or window manager

No response

Additional information

I have an sftp-config.json controlling a remote server to sync files, etc. to the remote server.

I have not seen if this applies to any Sublime project which does not use sftp-config.json. I am sync'ing all source code up to a master/main development server for executing.

OpenGL context information

No response

@thespacecowboys45
Copy link
Author

I noticed this forum post:

https://forum.sublimetext.com/t/sidebar-folders-and-files-not-refreshing/40679/4

as the starting place , looking for information.

@thespacecowboys45
Copy link
Author

Additional information:

I just took the liberty to create a new file.
Only, this time I went through the File >> Save As dialog walkthrough and typed in a filename within the Windows dialog box, then clicked 'save.'

Now THIS TIME, the Filename DID appear in the left-nav on Sublime IDE.

(temporary workaround)

@rchl
Copy link

rchl commented Oct 6, 2024

Are you getting any errors in ST console (like FSEventStreamStart failed...)?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants