Skip to content
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

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

Closed
ramya-rao-a opened this issue Jan 30, 2018 · 1 comment
Closed
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug snippets verified Verification succeeded
Milestone

Comments

@ramya-rao-a
Copy link
Contributor

ramya-rao-a commented Jan 30, 2018

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?

@jrieken jrieken added the bug Issue identified by VS Code Team member as probable bug label Jan 31, 2018
@jrieken
Copy link
Member

jrieken commented Jan 31, 2018

Yeah, problem seems to be bad handling of the empty/missing scope...

screen shot 2018-01-31 at 09 18 55

@jrieken jrieken added this to the January 2018 milestone Jan 31, 2018
@ramya-rao-a ramya-rao-a added the verified Verification succeeded label Feb 1, 2018
@vscodebot vscodebot bot locked and limited conversation to collaborators Mar 17, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug snippets verified Verification succeeded
Projects
None yet
Development

No branches or pull requests

2 participants