Sublime Forum

Folders do not refresh when connected to \\wsl$

#1

Hi!

Current OS: Windows 10.
I am using Windows Ubuntu via WLS.

What am I doing?
I created a file under a folder.

What is the expected output?
The filename should appear under Folders on the left hand side.

Is there a way I can refresh the folders manually from time-to-time?

K

1 Like

Any update for WSL?
#2

No reply from anyone?

0 Likes

#3

Running https://forum.sublimetext.com/search?q=WSL reveals

0 Likes

#4

Thank you for the response.
I see they are working on auto-refresh.

My original question :slight_smile:

Is there a way I can refresh the folders manually from time-to-time?

Example, Pressing Ctrl + R, refreshes the browser tab. Even if I can get to work that, I am ok with it. For now, I have to remove folder from the project and then re-open the project folder. :slightly_frowning_face:

0 Likes

#5

Project > Refresh Folders will force a re-scan of the folders that are open; that may help you out in this regard.

2 Likes

#6

I do not know if anyone is still following this, but I have solved this issue for myself by installing the Multicommand plugin and creating a custom key binding (Preferences > Key Bindings like that adds the Project > Refresh Folders action after saving:

[
	{
		"keys": ["ctrl+s"],
		"command": "multicommand",
		"args": {
			"commands": [
				{"command": "save", "args": {"async": true}},
				{"command": "refresh_folder_list"}
			]
		}
	}
]
0 Likes