Format your gql queries
Language Supported
- Kotlin
What this tool will do -
- It will reformat your GQL query that is stored in some variable (The idea is very similar to JSON Formatter)
- You can then replace this formatted GQL query into that variable
How to use -
- Open the tool window from RIGHT
- Navigate to your kotlin file where you have written your GQL queries
- Enter the variable name which you want to reformat
- Click Import You will see a readable version of that GQL query stored in that variable
- Now you can also edit your GQL queries in this tool window
- Click Replace to finally your replace your edited text from tool window to your variable's value
Few things to note -
Dollar replace logic
- $ will be converted to ${"$"}
- $$ and ${"$"} will not be changed
Video - https://youtu.be/zP1y7HndSlM
Feel free to request features / open issues
Thanks