Title: ./.vscode > tasks.json contains deprecated API tasks.identifier · Issue #32665 · microsoft/TypeScript · GitHub
Open Graph Title: ./.vscode > tasks.json contains deprecated API tasks.identifier · Issue #32665 · microsoft/TypeScript
X Title: ./.vscode > tasks.json contains deprecated API tasks.identifier · Issue #32665 · microsoft/TypeScript
Description: TypeScript Version: 3.6.0 Search Terms: vscode, tasks.json, tasks, identifier Code ./.vscode > tasks.json contains deprecated API tasks.identifier. "tasks": [ { "type": "shell", "identifier": "local", // deprecated "label": "gulp: local"...
Open Graph Description: TypeScript Version: 3.6.0 Search Terms: vscode, tasks.json, tasks, identifier Code ./.vscode > tasks.json contains deprecated API tasks.identifier. "tasks": [ { "type": "shell", "identifier": "loca...
X Description: TypeScript Version: 3.6.0 Search Terms: vscode, tasks.json, tasks, identifier Code ./.vscode > tasks.json contains deprecated API tasks.identifier. "tasks": [ { "type": "...
Opengraph URL: https://github.com/microsoft/TypeScript/issues/32665
X: @github
Domain: github.com
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"./.vscode > tasks.json contains deprecated API tasks.identifier","articleBody":"\u003c!-- Please try to reproduce the issue with `typescript@next`. It may have already been fixed. -->\r\n**TypeScript Version:** 3.6.0\r\n\r\n\u003c!-- Search terms you tried before logging this (so others can find this issue more easily) -->\r\n**Search Terms:**\r\nvscode, tasks.json, tasks, identifier\r\n\r\n**Code**\r\n`./.vscode` > `tasks.json` contains deprecated API `tasks.identifier`.\r\n\r\n```js\r\n \"tasks\": [\r\n {\r\n \"type\": \"shell\",\r\n \"identifier\": \"local\", // deprecated\r\n \"label\": \"gulp: local\",\r\n \"command\": \"gulp\",\r\n \"args\": [\"local\"],\r\n \"group\": { \"kind\": \"build\", \"isDefault\": true },\r\n \"problemMatcher\": [\"$gulp-tsc\"]\r\n },\r\n```\r\nNote: `tasks.identifier` in `tasks.json` was introduced: 41567b2261 - Migrate tscWatchMode to vfs\r\n\r\n**Expected behavior:**\r\n\r\n`tasks.identifier` should not be present in `tasks.json`\r\n\r\nReference: https://github.com/microsoft/vscode/issues/57946\r\nFurther discussion see thread containing: https://github.com/Microsoft/vscode/issues/57707#issuecomment-418657645 \r\nSchema for tasks.json: https://code.visualstudio.com/docs/editor/tasks-appendix\r\n\r\n**Actual behavior:**\r\nVSCode shows a warning for the `identifier` field\r\n\r\n**_Suggested solution_** \r\n\r\n_Either:_\r\n- Remove identifier as a parameter, (functionality is covered by label) \r\n\r\n_or_\r\n- Remove `./.vscode` > `tasks.json` if configured tasks no longer needed\r\n- Remove `.gitignore` reference: https://github.com/microsoft/TypeScript/blob/90afd6d620f30bc47e862970a931ca0e207e6b28/.gitignore#L62\r\n\r\n_or_\r\n- There was mention in the github issues thread on discussion of deprecation of `tasks.identifier` to update tasks API to new supported feature: `TaskDefinitions` in `package.json`: https://code.visualstudio.com/api/references/contribution-points#contributes.taskDefinitions\r\n\r\n**Playground Link:** \u003c!-- A link to a TypeScript Playground \"Share\" link which demonstrates this behavior -->\r\nNot applicable\r\n\r\n**Related Issues:** \u003c!-- Did you find other bugs that looked similar? -->\r\nNone found","author":{"url":"https://github.com/nataliemarleny","@type":"Person","name":"nataliemarleny"},"datePublished":"2019-08-01T20:28:11Z","url":"https://github.com/microsoft/TypeScript/issues/32665"}
| react-profiling | 0 |
| react-import-map | react,react-dom,react-dom/client,react-dom/profiling,react-is,react/compiler-runtime,react/jsx-dev-runtime,react/jsx-runtime,scheduler@b8488ee2c322 |
| route-pattern | /_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format) |
| route-controller | voltron_issues_fragments |
| route-action | issue_layout |
| fetch-nonce | v2:28311597-25c6-e4cd-b69b-8d779601a00a |
| current-catalog-service-hash | 81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114 |
| request-id | 9ACA:3C21B:70BB25:934106:6B00D484 |
| html-safe-nonce | 3f1d667b4b51ecbe6832400cbe3447c8a738034f2ace040ec8d6d0469dd26046 |
| visitor-payload | eyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QUNBOjNDMjFCOjcwQkIyNTo5MzQxMDY6NkIwMEQ0ODQiLCJ2aXNpdG9yX2lkIjoiNzMzNzg5OTg5NDEzMDEzNjE5NiIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9 |
| visitor-hmac | c5ee918cea8eb6fc629389df65dfeaee143fac559f943daaf4524c41c289212a |
| hovercard-subject-tag | issue:475874096 |
| github-keyboard-shortcuts | repository,issues,copilot |
| google-site-verification | Apib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I |
| octolytics-url | https://collector.github.com/github/collect |
| analytics-location | / |
| fb:app_id | 1401488693436528 |
| apple-itunes-app | app-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/microsoft/TypeScript/32665/issue_layout |
| twitter:image | https://opengraph.githubassets.com/48216726671be521b5cd0bfa0f0bac2ae402d61aaee66362b7aab710154a4db3/microsoft/TypeScript/issues/32665 |
| twitter:card | summary_large_image |
| og:image | https://opengraph.githubassets.com/48216726671be521b5cd0bfa0f0bac2ae402d61aaee66362b7aab710154a4db3/microsoft/TypeScript/issues/32665 |
| og:image:alt | TypeScript Version: 3.6.0 Search Terms: vscode, tasks.json, tasks, identifier Code ./.vscode > tasks.json contains deprecated API tasks.identifier. "tasks": [ { "type": "shell", "identifier": "loca... |
| og:image:width | 1200 |
| og:image:height | 600 |
| og:site_name | GitHub |
| og:type | object |
| og:author:username | nataliemarleny |
| hostname | github.com |
| expected-hostname | github.com |
| None | 85bbdfe2b6ba16e234513bc6ceff5d848ef8449820c900692a2b4e67061931e5 |
| turbo-cache-control | no-preview |
| go-import | github.com/microsoft/TypeScript git https://github.com/microsoft/TypeScript.git |
| octolytics-dimension-user_id | 6154722 |
| octolytics-dimension-user_login | microsoft |
| octolytics-dimension-repository_id | 20929025 |
| octolytics-dimension-repository_nwo | microsoft/TypeScript |
| octolytics-dimension-repository_public | true |
| octolytics-dimension-repository_is_fork | false |
| octolytics-dimension-repository_network_root_id | 20929025 |
| octolytics-dimension-repository_network_root_nwo | microsoft/TypeScript |
| turbo-body-classes | logged-out env-production page-responsive |
| disable-turbo | false |
| browser-stats-url | https://api.github.com/_private/browser/stats |
| browser-errors-url | https://api.github.com/_private/browser/errors |
| release | 4943239a6d2c591325dad6e5c313e1cafda877f6 |
| ui-target | full |
| theme-color | #1e2327 |
| color-scheme | light dark |
| react-app-name | issues |
Links:
Viewport: width=device-width