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

Extension issue #141

Closed kingluddite closed 4 years ago

kingluddite commented 5 years ago

:warning: We have written the needed data into your clipboard. Please paste! :warning:

kingluddite commented 5 years ago
{
    "messages": [],
    "activationTimes": {
        "codeLoadingTime": 29371,
        "activateCallTime": 12,
        "activateResolvedTime": 1,
        "activationReason": {
            "startup": true,
            "extensionId": {
                "value": "Prisma.vscode-graphql",
                "_lower": "prisma.vscode-graphql"
            },
            "activationEvent": "workspaceContainsTimeout:**/.graphqlconfig,**/.graphqlconfig.yml,**/.graphqlconfig.yaml"
        }
    },
    "runtimeErrors": [
        {
            "name": "Error",
            "message": "Request initialize failed with message: \".graphqlconfig\" file is not available in the provided config directory: /Users/philiphowley/Documents/dev/ucla/online/catchup/catchup-lessons/jquery-api-ajax/catchup-session\nPlease check the config directory."
        }
    ]
}
divyenduz commented 4 years ago

Request initialize failed with message: \".graphqlconfig\" file is not available. Do you have a graphql-config file in your project? If yes, please comment here.

The extension only works with a valid graphql-config (2.x) file.

acao commented 4 years ago

@kingluddite if you're still having this issue, see the updated usage instructions here!

https://github.com/prisma-labs/vscode-graphql#usage