material-web icon indicating copy to clipboard operation
material-web copied to clipboard

Provide a `web-types.json` file for compatibility with Intellij IDEs

Open sportshead opened this issue 1 year ago • 0 comments

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) screenshot of intellij idea inspection saying `Unknown html tag md-icon`

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)

sportshead avatar Dec 04 '23 20:12 sportshead