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

feat: Resolve custom task #1035

Merged
merged 1 commit into from
Nov 19, 2021
Merged

feat: Resolve custom task #1035

merged 1 commit into from
Nov 19, 2021

Conversation

CsCherrYY
Copy link
Collaborator

@CsCherrYY CsCherrYY commented Oct 18, 2021

fix #995

customtask

This PR separates create and resolve process of vscode tasks, in the resolving process, we can resolve ${} variables by passing them to CustomExecution.

@CsCherrYY CsCherrYY added the enhancement New feature or request label Oct 18, 2021
@CsCherrYY CsCherrYY added this to the 3.8.1 milestone Oct 18, 2021
@CsCherrYY CsCherrYY modified the milestones: 3.8.1, 3.8.2 Oct 21, 2021
@@ -205,6 +206,72 @@ export function createTaskFromDefinition(
return task;
}

export function resolveTaskFromDefinition(
Copy link
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Here just copy the main logics from createTaskFromDefinition and use CustomExecution to resolve the VSCode variables

@CsCherrYY CsCherrYY merged commit 2321489 into main Nov 19, 2021
@CsCherrYY CsCherrYY deleted the cs-issue995 branch November 19, 2021 04:57
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Getting "There is not task provider registered for tasks of type gradle"
2 participants