Natizyskunk / vscode-sftp

Super fast sftp/ftp extension for VS Code
Other
373 stars 68 forks source link

SFTP Explorer doesn't show new created files. Manual refresh required. #439

Open Zacklicious opened 8 months ago

Zacklicious commented 8 months ago

Do you read the FAQ?

Describe the bug When in the SFTP: Explorer view, right click -> create file, the file is created, but I have to manually refresh (using the button at the top of the SFTP: Explorer) for the new file to show.

To Reproduce Steps to reproduce the behavior:

  1. Go to the SFTP: Explorer
  2. Right click on a folder
  3. Click Create File
  4. Enter a file name for the new file
  5. Press enter
  6. The file is not visible in the SFTP: Explorer

Expected behavior Whenever a new file is created, that folder should refresh and show the newly created file in the SFTP: Explorer

Screenshots N/A

Desktop (please complete the following information):

Extension Logs from Startup - required Nothing shown in log.

Natizyskunk commented 8 months ago

@Zacklicious, it's a know bug, The only moment the remote explorer is not automatically refreshed is when you try any of those actions directly on the host root instead of inside a folder : 'create', 'update', 'delete', 'rename'. the remote explorer should be refreshed automatically after any of those actions inside a folder. I'm currently working on a fix.