graphql-mode
is an emacs mode to edit GraphQL schema and queries.
graphql-mode
can be installed from MELPA repository at http://melpa.org/.
Once the installation is completed, any file with a .graphql extension will be loaded with this mode.
You can optionally install json-mode
, and it will be enabled in the
buffer that contains the response from a GraphQL service.