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

Launch language server with environment from .env file (fixes #60) #98

Closed peterholak closed 5 years ago

peterholak commented 5 years ago

This mostly fixes https://github.com/prisma/vscode-graphql/issues/60 by launching the GraphQL Language Server with variables from .env added to its environment.

The bigger issue however is that there is no visible error when the language server fails to parse the config file (e.g. when an environment variable doesn't exist at all, or for any other reason).

divyenduz commented 5 years ago

Thanks for the PR @peterholak. Merging this, I will notify on the issue when this is released.

divyenduz commented 5 years ago

This is available in 0.1.8 🙌