Skip to content

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

Merged
Megan Rogge (meganrogge) merged 1 commit into
microsoft:mainfrom
maruthang:fix/issue-275670-task-definitions-required-hover
Apr 16, 2026
Merged

Megan Rogge (meganrogge) merged 1 commit into
microsoft: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
Megan Rogge (meganrogge) enabled auto-merge (squash) April 16, 2026 15:46
@meganrogge Megan Rogge (meganrogge) added this to the 1.117.0 milestone Apr 16, 2026
@meganrogge
Megan Rogge (meganrogge) merged commit fb4f555 into microsoft:main Apr 16, 2026
26 checks passed
@vs-code-engineering vs-code-engineering Bot locked and limited conversation to collaborators May 31, 2026
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.

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