Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

better api for command "explorer.download" #123260

Closed
mateuszkitlas opened this issue May 7, 2021 · 2 comments
Closed

better api for command "explorer.download" #123260

mateuszkitlas opened this issue May 7, 2021 · 2 comments
Assignees
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code
Milestone

Comments

@mateuszkitlas
Copy link

I'm making my own extension for vscode and I'm trying to make a feature that allows user to download a generated file from vscode. I was able to emulate this by the following code:

  await commands.executeCommand("revealInExplorer", Uri.file(fspath));
  await commands.executeCommand("explorer.download");

But it's hacky and not sufficient for me. As I've said - my files are generated and tend to be big. I want to enable users to download them directly. What I'm hoping for is:

  await commands.executeCommand("download", uri);

I'm using code-server, so this particular feature would come in very handy to me.

@isidorn isidorn added feature-request Request for new features or functionality file-explorer Explorer widget issues labels May 7, 2021
@isidorn
Copy link
Contributor

isidorn commented May 7, 2021

This is a fair feature request, however we do not have it on our immediate plan. Thus assigning to backlog and we might add this in the future. Thanks

@isidorn isidorn added this to the Backlog milestone May 7, 2021
@isidorn isidorn added the *out-of-scope Posted issue is not in scope of VS Code label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality file-explorer Explorer widget issues *out-of-scope Posted issue is not in scope of VS Code
Projects
None yet
Development

No branches or pull requests

3 participants
@isidorn @mateuszkitlas and others