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

Multiple tasks don't prompt user #2840

Closed
csholmq opened this issue Feb 9, 2016 · 4 comments
Closed

Multiple tasks don't prompt user #2840

csholmq opened this issue Feb 9, 2016 · 4 comments
Assignees
Labels
feature-request Request for new features or functionality tasks Task system issues

Comments

@csholmq
Copy link

csholmq commented Feb 9, 2016

When having multiple tasks defined, I would expect a list for me to choose from when I press ctrl+shift+b. Instead, it only runs the first build task (if "isBuildCommand": false it skips to the next build task) and stops.

tasks.json

{
    "version": "0.1.0",
    "command": "cmd", 
    "isShellCommand": true,
    "showOutput": "silent",
    "args": ["/C"],

    "tasks": [
        {
        "taskName": "Build CustApp",
        "suppressTaskName": true,
        "isBuildCommand": true,
        "args": ["${cwd}/Sw/A_XMC/make_all.bat"]
        },
        {
        "taskName": "GTAGS",
        "suppressTaskName": true,
        "isBuildCommand": true,
        "args": ["gtags"]
        }
    ]
}
@csholmq
Copy link
Author

csholmq commented Feb 9, 2016

Oh, I see my confusion. I was thinking of the behavior of workbench.action.tasks.runTask which actually prompts a list of all tasks.

Though I still stand by my first post, since I feel this should be the behavior even for workbench.action.tasks.build. That if there a multiple build tasks available, user should be prompted by a list.

This goes for workbench.action.tasks.test as well.

@dbaeumer dbaeumer added tasks Task system issues feature-request Request for new features or functionality labels Feb 11, 2016
@dbaeumer dbaeumer added this to the Backlog milestone Feb 11, 2016
@csholmq
Copy link
Author

csholmq commented Apr 1, 2017

Still feel this is expected behaviour. Any plans to move this into a milestone?

@dbaeumer
Copy link
Member

dbaeumer commented Apr 3, 2017

This will come for the new terminal task runner and is on the list, but with a slightly different behavior. When more than one task is marked as a build task all of them will be executed since the terminal runner support executing more than one task in parallel. If you want to execute a specific task use Run Task.

@csholmq
Copy link
Author

csholmq commented Oct 23, 2017

Then I consider this closed.

@csholmq csholmq closed this as completed Oct 23, 2017
@dbaeumer dbaeumer removed this from the Backlog milestone Nov 10, 2017
@vscodebot vscodebot bot locked and limited conversation to collaborators Dec 7, 2017
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
feature-request Request for new features or functionality tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants