tru2dagame / company-graphql

company for graphql

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Company GraphQL

GraphQL backend for company-mode.

Introduction

This emacs package provides completion for GraphQL file with your GraphQL server, which host the GraphQL DSL and allow introspection.

image

The type, fields, argument definition lookup process is relied on the instrospection specified in introspection.graphql graphql query file, which is used to get json response from the server. Once the JSON response is received, it builds a hashtable, which is futher augmented to help faster definition lookup.

Installation

  1. You can install this package from Melpa

    M-x package-install RET company-graphql RET

  2. add your company-graphql to company-backend

    (add-to-list 'company-backends 'company-graphql)

Usage

  1. open any .graphql file, and edit...

About

company for graphql


Languages

Language:Emacs Lisp 99.6%Language:Makefile 0.4%