-
Notifications
You must be signed in to change notification settings - Fork 30.3k
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
Custom data for HTML not working #67544
Comments
The HTML extension works fine with an emopty setting file |
@aeschli FYI |
Same happens for CSS:
|
This setting only takes paths, not JSON data. |
The described behavior is how it is expected to work. If you disagree, please explain what is expected and what is not in more detail. See also our issue reporting guidelines. Happy Coding! |
Maybe I could have done better at the docs for explaining it... |
@octref You can change the configuration schema like that, so @dbaeumer would have gotten a warning: {
"html.experimental.customData": {
"type": "array",
"description": "A list of JSON file paths that define custom tags, properties and other HTML syntax constructs. Only workspace folder setting will be read.",
"default": [],
"item": {
"type": "string"
},
"scope": "resource"
}
} Note that the HTML extension fails to start because of the unexpected setting value. I suggest add code to protect from this. |
Testing #67306
Steps to reproduce:
After that the HTML extension is dead. No code complete anymore
The text was updated successfully, but these errors were encountered: