vscode-sftp icon indicating copy to clipboard operation
vscode-sftp copied to clipboard

Keep the Last Used Profile on Next Start

Open black-eye opened this issue 4 years ago • 0 comments

Is this a similar or duplicate feature request?

  • [ ] I don't know. I will go check it.
  • [x] No.

Is your feature request related to a problem? Please describe. I really like the profile feature, it comes handy when switching between dev and prod site, I do it all the time. But it would be handy if I could preserve the profile from the last session. After reopening VSCode the selected profile is back to the one defined as default (which makes sense), but sometimes it's hard to keep the track of the phase of my work. For instance, there's a delay in a project and I'm not 100% sure if I worked on prod or dev version. Or I can simply forget that I restarted VSCode and after several updates I realize I'm uploading my files to the wrong site!

Describe the solution you'd like Maybe a parameter like "lastProfileAsDefault": true or "defaultProfile": "lastUsed"?

Describe alternatives you've considered In projects I need to be 100% sure I won't mess things up by working on wrong ftp, I keep the settings in separate files and copy them as needed. Not so straightforward, but much more fool proof.

Does this project help you?

  • [x] Yes. SFTP IS AWESOME!

black-eye avatar Aug 28 '21 12:08 black-eye