lostintangent / gistpad

VS Code extension for managing and sharing code snippets, notes and interactive samples using GitHub Gists
https://aka.ms/gistpad
MIT License
937 stars 58 forks source link

Unable to upload local files when used in a remote workplace #354

Open jokester opened 5 months ago

jokester commented 5 months ago

Is your feature request related to a problem? Please describe. A clear and concise description of what the problem is. Ex. I'm always frustrated when [...]

I found that when using gistpad in a workspace with Remote - SSH and do Upload File(s) in a gist, it will open a picker for remote (in the SSH host) files, not local files. (btw uploading a file from remote ssh works without a problem)

Could it be possible to upload a file from local host too? This is perhaps a corner case though.

My .code-workspace file is like:

{
    "folders": [
        {
            "uri": "vscode-remote://ssh-remote+my-host/home/me/notes"
        },
        {
            "uri": "vscode-remote://ssh-remote+my-host/home/me/services"
        }
    ],
    "remoteAuthority": "ssh-remote+my-host"
}

Describe the solution you'd like

Make it possible to upload a local file too.

Describe alternatives you've considered A clear and concise description of any alternative solutions or features you've considered.

Additional context Add any other context or screenshots about the feature request here.


BTW thanks for this great extension. it's going to be a big step in my digital life.