material-web
material-web copied to clipboard
Provide a `web-types.json` file for compatibility with Intellij IDEs
What is affected?
Tooling
Description
Provide a web-types.json
file in line with Intellij standards, in order to enable syntax highlighting for Intellij IDEs. This could probably be automatically generated in scripts/analyzer
.
See https://github.com/JetBrains/web-types
Reproduction
Use @material/web
in an Intellij IDE, and write some code using material web components. An inspection error saying "Unknown html tag" will appear (see image)
Workaround
Add each component to Settings > Editor > Inspections > HTML > Unknown tag
manually
Is this a regression?
No or unsure. This never worked, or I haven't tried before.
Affected versions
1.0.1
Browser/OS/Node environment
IntelliJ IDEA 2023.2.5 (Ultimate Edition)