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

Add Task functionality to run extension code prior to executing ShellExecution or ProcessExecution. #81863

Closed
Friday32 opened this issue Oct 2, 2019 · 2 comments
Assignees
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)

Comments

@Friday32
Copy link

Friday32 commented Oct 2, 2019

I have a TaskProvider in my extension that generates a couple build tasks. I'd like to present a quickpick to select a component to build; The selection will determine the shell command used. If there is a way to do this, it's not obvious to me.

I noticed a proposed API that includes a new execution type, CustomExecution. Perhaps, that will solve my issue in a future releae. But, I'm hoping there is something I can do with the current version of VSCode.

@alexr00
Copy link
Member

alexr00 commented Oct 3, 2019

https://code.visualstudio.com/Docs/editor/tasks
Otherwise you can follow the issue for finalizing CustomExecution: #80375

@alexr00 alexr00 added the *question Issue represents a question, should be posted to StackOverflow (VS Code) label Oct 3, 2019
@vscodebot
Copy link

vscodebot bot commented Oct 3, 2019

Please ask your question on StackOverflow. We have a great community over there. They have already answered thousands of questions and are happy to answer yours as well. See also our issue reporting guidelines.

Happy Coding!

@vscodebot vscodebot bot closed this as completed Oct 3, 2019
@vscodebot vscodebot bot locked and limited conversation to collaborators Nov 17, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
*question Issue represents a question, should be posted to StackOverflow (VS Code)
Projects
None yet
Development

No branches or pull requests

2 participants