Closed griffico closed 5 years ago
@griffico, Issues about 'unresolved function' should be addressed on the WebStorm side. This plugin only controls highlighting within strings, resolving JS functions is done on the IDE side.
Is this code snippet JavaScript or TypeScript?
Have you tried adding @types/react
and @types/styled-components
to your project?
Usually having typings helps the IDE resolve definitions.
In any case, I think you should report this to the WebStorm issue tracker: https://youtrack.jetbrains.com/issues?q=%23WEB
Problem description:
Webstorm tells me that
h2
is an unresolved method or function, even though it works just fine. Not even sure this is a plugin issue, but obviously it's not unresolved since the code works; Webstorm just doesn't know what the tag is. Not specific to h2 tags, either.