language-graphql icon indicating copy to clipboard operation
language-graphql copied to clipboard

GraphQL support for Atom text editor

Results 7 language-graphql issues
Sort by recently updated
recently updated
newest added

Example (from the [graphql-yoga][1] project): [link][3]. Definition of docstring: [link][2]. [1]: https://github.com/prisma/graphql-yoga [2]: https://www.apollographql.com/docs/resources/graphql-glossary/#docstring [3]: https://github.com/prisma/graphql-yoga/blob/master/examples/prisma-js/prisma.graphql#L40-L53

GraphQL comments syntax has changed and is now using a triple double-quotes characters format. This breaks syntax highlighting on GitHub. Example on GitHub: https://gist.github.com/Akryum/74471ad4789e4fcde6e072ea0605c62b

Before this change, description strings are not highlighted after: * the first field in a type, * the first variable in a field. ![image](https://user-images.githubusercontent.com/1180536/67625611-9735ed80-f840-11e9-9efd-221ba9e0d6e2.png) Descriptions for type fields and field...

as of graphql 0.12.3 you can now add comments as string literals ``` "This is a description." schema { query: Query } ``` if we could highlight this somehow, maybe...

See: Or: Commas are optional in GraphQL. This doesn't seem to be an issue with [`language-babel`](https://atom.io/packages/language-babel).

## Problem Highlighting fails inside the `enum` declaration. Everything wants to be orange. ## Screenshot ![screen shot 2018-12-10 at 2 47 43 pm](https://user-images.githubusercontent.com/214924/49766639-b0669780-fc8a-11e8-8d29-ffb614bcd311.png) ## Testing code ``` type ApprovalRequirements {...

Is there a way to specify for what file types I want this syntax to be active?