graphql / vscode-graphql

MIGRATED: VSCode GraphQL extension (autocompletion, go-to definition, syntax highlighting)
https://marketplace.visualstudio.com/items?itemName=Prisma.vscode-graphql
MIT License
557 stars 71 forks source link

Prisma directives #85

Closed affanshahid closed 4 years ago

affanshahid commented 5 years ago

The extension does not seem to be able to recognize the built in prisma directives: @relation, @unique etc in my datamodel.prisma.

Do I need to do some configuration?

Specifications

Logs Of TS Server || GraphQL Language Service

GQL Language Service logs:

Watchman:  Watchman was not found in PATH.  See https://facebook.github.io/watchman/docs/install.html for installation instructions
is in debug mode: false
is in debug mode: false
grantpant commented 5 years ago

Did you resolve this? I'm experiencing the same issue.

LeonardoGentile commented 5 years ago

I have the same problem. In my case although I've installed watchman and it is running fine.

This is my schema image

And this is the console log image

mssalnikov commented 5 years ago

Still having this issue, which unfortunately makes this extension unusable with prisma. Quite ironic actually =)

This is sad because it truly does incredibly mark up .graphql files and all other extensions don't even come close to this one

ghost commented 4 years ago

same issue

Scapeuce commented 4 years ago

me too!!

acao commented 4 years ago

sorry for these issues, but Prisma decided to drop support for .prisma files in our most recent release 0.3.1

it would be possible for someone to fork this extension if they wanted to maintain legacy support themselves!