nicolaslopezj/atom-graphql-autocomplete

Support for template tags inside js files

pie6k opened this issue · 1 comments

pie6k commented

Eg.

// file.js
import { gql } from 'react-apollo';
const myQuery = gql`
  query { *query here* }
`

Is it possible to have autocomplete support inside such tags?

Change your line endings to LF or fix \n -> [\r\n] inside .atom\packages\graphql-autocomplete\lib\graphql\getQueriesInFile.js