graphql / graphql/graphiql

Use extension without config file

Open
#2,174 12 comments 1 reaction 0 assignees View on GitHub
enhancement lsp-rewrite lsp-server vscode-graphql
Dominant language
TypeScript
Stars
16.9k
Forks
1.9k
Avg merge
22h 45m
Merged PRs (30d)
70

Description

Is there any way to use the extension without a config file?

I work in an environment with multiple micro-services that uses graphql. The projects all have a single `schema.graphql`-file but there is no need for a config file for graphql.

If I just open a `.graphql` file in vscode, syntax highlighting works, but the "goto definition" feature doesn't. It seems like I need a config file for that to work.

Isn't there any way to get the extension to work with `.graphql` files when you just have one of those in the project and don't need a config file?

I have never had a config-file in any of my project and I have no idea what the purpose of it is. Is it framework specific? I find nothing in the graphql specification about this config-file. Is this extension for a specific framework?

Contributor guide

Open the contributing guide

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.