Skip to content

VS Code - autocomplete not working in all files #883

@subhash

Description

@subhash

When apollo.config.js is thus:

module.exports = {
    client: {
        name: 'graphitti schema',
        service: 'graphitti-schema',
    }
};

and .env set appropriately to point to Apollo Engine service, VS Code shows both autocomplete and metrics working in src/see.graphql file:
works

But when apollo.config.js is updated to include files in other directories:

module.exports = {
    client: {
        name: 'graphitti schema',
        service: 'graphitti-schema',
        includes: [__dirname+ '/client/**/*.js', './client/**/*.graphql', './src/**/*.graphql']
    }
};

VS Code continues to show metrics for the included js files, not does not show autocomplete or type information on hover:

bug

What am I missing?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions