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

Document symbols support #135

Closed felixfbecker closed 4 years ago

felixfbecker commented 5 years ago

It would be amazing to have go to symbols support (Cmd+Shift+O). We have a big schema file and it is difficult to find types you are looking for with text search, because that matches both references and definitions, and also inside comments.

acao commented 4 years ago

@felixfbecker the LSP now supports this and we just updated! 0.3.1 generates the schema file for definition lookups by default, but 0.3.2 will allow you to override this if you us .graphql files to define schema ins source.