Closed AMerkuri closed 1 year ago
If you have defined CSS declaration in your project for attribute then Webstorm will show you (ctrl + J) CSS specificity instead of providing autocomplete for web-types enums.
css
foo[bar] { display: block }
html
<foo bar=""></foo>
web-types.json
... "contributions": { "html": { "elements": [ { "name": "foo", "attributes": [ { "name": "bar", "value": { "kind": "plain", "type": "enum" }, "values": [ { "name": "baz" }, { "name": "qux" }, ] }, ] ...
@AMerkuri - thanks for the report. I've filed it in our tracking system - https://youtrack.jetbrains.com/issue/WEB-57066
The fix will be available in 2022.3.
If you have defined CSS declaration in your project for attribute then Webstorm will show you (ctrl + J) CSS specificity instead of providing autocomplete for web-types enums.
css
html
web-types.json