apollographql / apollographql/apollo-tooling

Ctrl + space autocomplete broken in 1.10.0

Open
#1,167 9 comments 8 reactions 1 assignee Claimed by @JakeDawkins View on GitHub
:spiral_notepad: component - vscode
Dominant language
TypeScript
Stars
3k
Forks
460
PR merge metrics
No merged PRs in 30d

Description

Just moved back to a graphql project and noticed that apollo no longer autocompletes queries in .graphql files or in gql (or custom) tags. There is no error in the console. The plugin loads fine and appears to load the schema fine from remote.

reverting to version `1.5.0` seems to solve the issue. The issue is also present in `1.5.2`

Apollo config:
```
module.exports = {
client: {
includes: [
'src/**',
'node_modules/gatsby-transformer-sharp/fragments.js',
],
tagName: 'graphql',
service: {
name: 'ds.local',
url: 'http://localhost:8800/___graphql',
},
},
};
```

VSCode info:

```
Version: 1.32.3 (user setup)
Commit: a3db5be9b5c6ba46bb7555ec5d60178ecc2eaae4
Date: 2019-03-14T23:43:35.476Z
Electron: 3.1.6
Chrome: 66.0.3359.181
Node.js: 10.2.0
V8: 6.6.346.32
OS: Windows_NT x64 10.0.17763
```

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.