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

Tasks discovery not working properly #65263

Closed
zplan opened this issue Dec 18, 2018 · 5 comments
Closed

Tasks discovery not working properly #65263

zplan opened this issue Dec 18, 2018 · 5 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues

Comments

@zplan
Copy link

zplan commented Dec 18, 2018

  • VSCode Version: 1.31.0-insider
  • OS Version:Win10 x64

Steps to Reproduce:

1.Having a tasks.json file with multiple tasks defined in a .vscode folder
2.Press ctrl + shift + b
3. Only the last task is displayed to select
4. Going in the menu to Terminal - Configure Tasks... --> All Tasks are shown

Does this issue occur when all extensions are disabled?: Yes

@vscodebot
Copy link

vscodebot bot commented Dec 18, 2018

(Experimental duplicate detection)
Thanks for submitting this issue. Please also check if it is already covered by an existing one, like:

@vscodebot vscodebot bot added the tasks Task system issues label Dec 18, 2018
@zplan
Copy link
Author

zplan commented Dec 18, 2018

No, it is not covered by an existing issue.
It also was working until the last insider build.

@alexr00
Copy link
Member

alexr00 commented Dec 18, 2018

ctrl + shift + b will only show build tasks ("group": "build"). I've tried with a tasks.json that contains several build tasks, but they all show up just fine. What does your tasks.json look like?

@alexr00 alexr00 added the info-needed Issue requires more information from poster label Dec 18, 2018
@zplan
Copy link
Author

zplan commented Dec 18, 2018

This is my tasks.json where I can only see the "Build App3" since the last update of VSCode:

{
// See https://go.microsoft.com/fwlink/?LinkId=733558
// for the documentation about the tasks.json format
"version": "2.0.0",

"type": "shell",
"presentation": {
    "reveal": "always",
    "panel": "new"
}, 
"problemMatcher": [],
   
"tasks": [
    {
        "label": "Build All Apps",
        "dependsOn": [
            "Build App1",
            "Build App2",
            "Build App3"            ],
        "group": "build"
    },
    {
        "label": "Build App1",
        "command": "${workspaceFolder}\\App1\\Build\\build.ps1",
        "options": {
            "cwd": "App1\\Build"
        },
        "group": "build"
    },
    {
        "label": "Build App2",
        "command": "${workspaceFolder}\\App2\\Build\\build.ps1",
        "options": {
            "cwd": "App2\\Build"
        },
        "group": "build"
    },
    {
        "label": "Build App3",
        "command": "${workspaceFolder}\\App3\\Build\\build.ps1",
        "options": {
            "cwd": "App3\\Build"
        },
        "group": "build",
    }
]

}

--> when I delete the Build App3 Section, I only can see the "Build App2" after I press ctrl + shift +b

@alexr00
Copy link
Member

alexr00 commented Dec 18, 2018

I can repro. Thank you for the good example.

@alexr00 alexr00 added bug Issue identified by VS Code Team member as probable bug and removed info-needed Issue requires more information from poster labels Dec 18, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Feb 1, 2019
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug tasks Task system issues
Projects
None yet
Development

No branches or pull requests

2 participants