liximomo / vscode-sftp

Super fast sftp/ftp extension for VS Code
MIT License
1.5k stars 256 forks source link

Automatically modify EOL when SFTP work in Cross-platform condition #957

Open lkposible4 opened 2 years ago

lkposible4 commented 2 years ago

Is this a similar or duplicate feature request? I don't know. I will go check it.

Is your feature request related to a problem? Please describe. When I upload file from windows to linux using this script, I find that EOL always mismatch. When I download file from linux to windows, the condition are the same.

Describe the solution you'd like

  1. users can indicate the platform or EOL style both local and remote in sftp setting. When upload/download, check the platform or EOL style and modify the EOL if the EOL mismatch with setting.
  2. And maybe a flag also need here, like "EOLAutoModify". When set to true, the tool will enable this feature.

Does this project help you?