InteliJ Autocompletion w/ Graphql library

Hey all, I'm trying to get my IDE to recognize the custom directives and scalars in the GraphQL js library. Would love to notify my IDE that those are indeed valid things and would love it even more if my IDE could help me auto complete them. Is anyone aware of a ide_helper or the like that will help ease that pain?

I know the GraphQL extension for VSCode will retrieve typedefs from a GraphQL endpoint to use for autocomplete / syntax checking. Perhaps there is a similar functionality for Webstorm / Intellij?