JetBrains / js-graphql-intellij-plugin

GraphQL language support for WebStorm, IntelliJ IDEA and other IDEs based on the IntelliJ Platform.
https://jimkyndemeyer.github.io/js-graphql-intellij-plugin/
MIT License
879 stars 97 forks source link

Error highlighting does not work for me #711

Open oliverwatkins opened 2 months ago

oliverwatkins commented 2 months ago

Describe the bug Error highlighting does not work. For more info :

https://stackoverflow.com/questions/78328361/intellij-graphql-plugin-error-highlighting-not-working

To Reproduce See SO question

vepanimas commented 2 months ago

Hi @oliverwatkins! From your question I see that you have a folder structure like this :

|-- project | |-- frontend | | +-- myQueryDeclerations.ts | | +-- schema.graphql | +-- graphql.config.yml

So, the path to the schema in your config should be schema: frontend/schema.graphql, instead of schema: schema.graphql.