apollographql / apollographql/apollo-tooling

VS code plugin does not work. Cant find root of the project, cant load config in the same directory from other file

Open
#2,461 0 comments 0 reactions 0 assignees View on GitHub
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

https://user-images.githubusercontent.com/707007/138760761-07e2342c-43ef-4f12-8cf3-716045e60dba.mp4

I'm very new with this stuff. I opened vs code as code . in project folder. This two files in project root. when I click on config - schema realoads, when i click on client file - nothing happens, and plugin dont work.

I've reinstall plugin twice, cleaned ~/.vscode folder. Nothing works.

copy of https://github.com/apollographql/vscode-graphql/issues/38

Contributor guide

Open the contributing guide

Research direction

Start by reproducing the behavior in VS Code after opening the project with `code .`, using the config and client files described in the issue and the linked video. Compare what happens when each file is opened; done means the plugin finds the project root, reloads the schema when appropriate, and loads the config for the client file.

Written by the indexing model from the issue text.

Assessment

Tech stack
graphql, typescript, vscode
Domain
developer-experience, tooling
Issue type
Bug
Difficulty
3/5
Estimated time
1-2 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
25/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.