Skip to content

fix(tasks): add hover description for required property in taskDefinitions contribution schema (#275670)#310764

Merged
meganrogge merged 1 commit intomicrosoft:mainfrom
maruthang:fix/issue-275670-task-definitions-required-hover
Apr 16, 2026
Merged

fix(tasks): add hover description for required property in taskDefinitions contribution schema (#275670)#310764
meganrogge merged 1 commit intomicrosoft:mainfrom
maruthang:fix/issue-275670-task-definitions-required-hover

Conversation

@maruthang
Copy link
Copy Markdown
Contributor

What — Add markdownDescription to the required property in the taskDefinitions extension-point schema.

Why — Hovering the property in an extension's package.json previously showed only the schema type with no documentation (#275670).

How — Added a localized nls.localize('TaskDefinition.required', ...) matching the style of the sibling when property's markdownDescription.

Test plan — Create an extension with a contributes.taskDefinitions entry including a required array and hover over the required key in package.json — the hover card now shows the description. npm run compile-check-ts-native passes cleanly.

Fixes #275670

@meganrogge meganrogge enabled auto-merge (squash) April 16, 2026 15:46
@meganrogge meganrogge added this to the 1.117.0 milestone Apr 16, 2026
@meganrogge meganrogge merged commit fb4f555 into microsoft:main Apr 16, 2026
26 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

required field in taskDefinitions contribution doesn't have hover info

3 participants