-
Notifications
You must be signed in to change notification settings - Fork 4.8k
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 "taskName" is deprecated, should be "label" #1181
Comments
@chrisdias The default Other task template will fill in the taskName and I see taskName in IntelliSense on both 1.16.1 and Insiders. |
//cc @dbaeumer i don't see this on 1.16 nor in today's insiders. This is what I see in Stable (1.16.1 27492b6): |
I mispoke above, I meant 1.16.1 (updated comment). |
How are you invoking the completion list? |
Ctrl+space (on Windows). I also see IntelliSense for taskName when I start typing "ta". |
perhaps |
ok, now i see what is going on. The Tasks Output pane gives you a "live" validation session. Here its telling me that I need to have a So I think the docs still can be clarified... the way they read right now every task has a |
Yes, the shape of a task depends type attribute. For contributed task (e.g. gulp, grunt, npm, ...) the attribute to control the UI is I have an item to clean this up. E.g. to consistently use label. See microsoft/vscode#29852 |
because of vscode suggest ref ISSUE: microsoft/vscode-docs#1181 Signed-off-by: a1012112796 <1012112796@qq.com>
because of vscode suggest ref ISSUE: microsoft/vscode-docs#1181 Signed-off-by: a1012112796 <1012112796@qq.com>
I am still so confused. The task.json documentation is written by people for people that already know how to use it. In 2021 I'm still not sure where the best resource and example guide is that I can count on being up to date. Yes, I've been googling. No, my frustration is not at you. The barriers to entry just keep stacking up. |
the docs for tasks refer to a property called
taskName
that doesn't exist in IntelliSense:for example, here: https://code.visualstudio.com/docs/editor/tasks#_custom-tasks
it looks like
taskName
should be renamedidentifier
in the docs.The text was updated successfully, but these errors were encountered: