Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/rvantonder/gql-sublimetext-yolo


https://github.com/rvantonder/gql-sublimetext-yolo

Last synced: 22 days ago
JSON representation

Awesome Lists containing this project

README

        

# gql-sublimetext-yolo

Taken from [graphql/vscode-graphql](https://github.com/graphql/vscode-graphql/blob/master/grammars/graphql.json) converted with [this](https://marketplace.visualstudio.com/items?itemName=Togusa09.tmlanguage)

**How to generate `sublime-syntax` file**:

- Open the `.json` file in sublime
- `PackageDev: Convert (YAML, JSON, PList) to and select Convert to: Property List`
- Rename as `.tmLanguage`
- `Plugin Development: Convert Syntax to .sublime-syntax`
- Do `view console` if this doesn't work, silent failure will show why the conversion failed in console

**Testing (Mac)**:

- Put the `tmLanguage` file in:

`Users//Library/Application Support/Sublime Text 3/Packages/GraphQL/GraphQL.tmLanguage`

- Also put the test file in there, and then open it in sublime
- Run `cmd`+`B`