Skip to content

Tasks lint and intellisense have conflicting suggestions #22367

@wgj

Description

@wgj

When using the "Hello World" Tasks example, there's a linter for tasks.json. If I resolve the issue, I incur Intellisense's wrath with a red squiggle.

tasks syntax error

escape with tooltip

  • VSCode Version: 1.10.2 (1.10.2)
  • OS Version: MacOS 10.12.3 (16D32)
  • Tasks Version: 2.0.0

Steps to Reproduce:

  1. Add "Hello World" to tasks.json, and observe syntax suggestion in Output.
        {
            "taskName": "echoTest",
            "command": "echo",
            "isShellCommand": true,
            "args": ["Hello World"],
            "showOutput": "always",
            "echoCommand": true
        }
  1. Escape "Hello World" spaces, and observe Intellisense error, and tool tip.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugtasksTask system issuesverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions