graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
555 stars 71 forks source link

Autocomplete not working in .graphql files #128

Closed mateja176 closed 5 years ago

mateja176 commented 5 years ago

Actual Behavior

No autocompletion or intellisense

Expected Behavior

Autocompletion similar to what graphiql offers and type information on hover

Steps to Reproduce the Problem Or Description

Specifications

Logs Of TS Server || GraphQL Language Service

The log is empty by default, however it does log operation info after clicking on execute query for example

mateja176 commented 5 years ago

The issue was that my schema was being stitched together and as such did not exist in a single file. To circumvent this issue I used get-graphql-schema as suggested here.