JS GraphQL

Compatible with: IntelliJ IDEA PhpStorm WebStorm PyCharm RubyMine Gogland
16.03.2017
13 195

GraphQL language support including Relay.QL tagged templates in JavaScript and TypeScript.

Provides the following features:

  • Schema-aware completion, error highlighting, and documentation
  • Syntax highlighting, code-formatting, folding, commenter, and brace-matching
  • 'Find Usages' and 'Go to Declaration' for schema types and fields
  • Schema viewer and 'Go to Implementation' for schema interfaces
  • 'Structure view' to navigate GraphQL and GraphQL Schema files
  • Configurable GraphQL schema retrieval and reloading based on a local file or a url using 'then-request'
  • Execute queries with variables against configurable endpoints

Download plugin

Recent change notes

  • 1.5.2: Pass "variables" in payload to GraphQL server as JSON.
  • 1.5.1: Compatible with IntelliJ IDEA 2017.1 EAP tagged template expressions.
  • 1.5.0: Language Service 1.4.0 based on graphql 0.9.1 and codemirror-graphql 0.6.2. Experimental support for GraphQL Endpoint Language (.graphqle)
  • 1.4.4: Fixes Assertion failed: Caret model is in its update process.
  • 1.4.3: GraphQL configuration page for indentation. Language Service 1.3.2: Object literal for variables in getFragment closes Relay.QL template expression.
  • 1.4.2: Language Service 1.3.1: Support __schema root in schema.json.
  • 1.4.1: Support for gql tagged templates used by Apollo and Lokka GraphQL Clients. Fixes false Error in Relay Mutation.
  • 1.4.0: Language Service 1.2.0 based on graphql 0.7.0 and codemirror-graphql 0.5.4. Basic editor support for GraphQL Schema (.graphqls)
  • 1.3.3: Fixes compatibility issue with IDEA 2016.2.2
  • 1.3.2: Removes GraphQL schema from scratch file formats.
  • 1.3.1: Fixes compatibility issue with WebStorm 2016.2 EAP.
  • 1.3.0: Adds support for GraphQL Scratch Files. Query results are now formatted.
  • 1.2.0: Contextual query support: Execute buffer, selection, or named operations at the caret position in the GraphQL editor
  • 1.1.1: Completion after ... fragment spread operator. Language Service 1.1.1 based on graphql 0.4.16 and codemirror-graphql 0.2.2
  • 1.1.0: Find usages, schema viewer, structure view