GraphQL schema for IntelliJ / WebStorm IDE Features

My IDE (IntelliJ) doesn’t play nice with the graphQL template strings in the node shopify app I’m working on. I think it’s because I need a local copy of the GraphQL schema? Is there a way to store a local copy?

I tried doing the following as suggested somewhere but I only got a 401 error

apollo client:download-schema \
  --header="X-Shopify-Access-Token: my_api_key_here" \
  --endpoint=https://my_shop_here/admin/api/2019-10/graphql.json
1 Like