Skip to content

Global snippets from extensions are not read if language is not provided #42553

@ramya-rao-a

Description

@ramya-rao-a

Testing #42330

When trying to contribute global snippets from extension, the below works,

"snippets": [
     "language": "go",
     "path": "./snippets/tryme.code-snippets"
]

but the below doesnt

"snippets": [
     "path": "./snippets/tryme.code-snippets"
]

Doesnt the need to specify language here make the whole point of global snippets moot?

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bugsnippetsverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions