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

[regression] no language support for snippet files #203206

Closed
RedCMD opened this issue Jan 23, 2024 · 2 comments · Fixed by #204090
Closed

[regression] no language support for snippet files #203206

RedCMD opened this issue Jan 23, 2024 · 2 comments · Fixed by #204090
Assignees
Labels
info-needed Issue requires more information from poster insiders-released Patch has been released in VS Code Insiders
Milestone

Comments

@RedCMD
Copy link
Contributor

RedCMD commented Jan 23, 2024

Open any VSCode snippet file

{
	"snippetName": {
		"scope": "scope",
		"prefix": "prefix",
		"body": "snippet ${1:abc}",
		"description": "description"
	}
}

expected:

all language features to be available including:
formating, intellisense, breadcrumbs, schema, squiggle errors, hovers etc

actual:

nothing
other than basic word suggestions and syntax highlighting

cause:

when the snippets language was added in 1.82.0
it was not added to the list of supported languages inside json-language-features
#185017
#189176

@jrieken jrieken added the info-needed Issue requires more information from poster label Jan 24, 2024
@jrieken
Copy link
Member

jrieken commented Jan 24, 2024

This issue lacks

  • a copy paste friendly sample
  • repro steps and expected vs actual behaviour

@RedCMD RedCMD changed the title [regression] no intellisense on snippet files [regression] no language support for snippet files Jan 27, 2024
@RedCMD
Copy link
Contributor Author

RedCMD commented Jan 27, 2024

tldr: add snippets to json-language-features

@VSCodeTriageBot VSCodeTriageBot added the unreleased Patch has not yet been released in VS Code Insiders label Feb 5, 2024
@VSCodeTriageBot VSCodeTriageBot added this to the February 2024 milestone Feb 5, 2024
@VSCodeTriageBot VSCodeTriageBot added insiders-released Patch has been released in VS Code Insiders and removed unreleased Patch has not yet been released in VS Code Insiders labels Feb 6, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
info-needed Issue requires more information from poster insiders-released Patch has been released in VS Code Insiders
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants