satiromarra / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
23 stars 3 forks source link

Refresh button does not work #71

Closed jdanign closed 12 months ago

jdanign commented 1 year ago

Do you read the FAQ?

Describe the bug Refresh button does not do anything. I need to refresh the file list but it does not update when I refresh folder or connection.

To Reproduce Upload new file to folder. Refresh folder or connection. It does not update file list.

Expected behavior The file list should be updated when refresh

Screenshots CAP

Desktop (please complete the following information):

satiromarra commented 1 year ago

@jdanign Activate in debug mode of the extension, reload vscode, open the "exit" tab and select "sftp". Do you see any errors?

jdanign commented 11 months ago

@jdanign Activate in debug mode of the extension, reload vscode, open the "exit" tab and select "sftp". Do you see any errors?

No, there is no errors. It looks like filelist does not update when click on refresh button, I've tried with folder refresh button, connection refresh button and sftp explorer refresh button.

satiromarra commented 11 months ago

Activating the debug mode, a message must appear, showing the reading of the directory and what it contains.

jdanign commented 11 months ago

Activating the debug mode, a message must appear, showing the reading of the directory and what it contains.

I have seen the problem. Filelist is updated when his parent directory hides his own files. For example: I have a directory as /myfolder/file.js, if I upload a new file to /myfolder/, the extension does not update de filelist while the tree shows the content of /myfolder/. If I hide the content of /myfolder/ and I upload the file, the extension updates the filelist when I show the content of /myfolder/.

satiromarra commented 11 months ago

@jdanign try this beta