Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added the ability to prettify GraphQL queries #650

Merged

Conversation

AndrewBastin
Copy link
Member

This PR intends to add the ability to do GraphQL query prettification. It adds a editor shortcut (cmd-p or ctrl-p) and also a button above the query editor to do prettification.

I am not a pretty big fan of the icon for the prettify button, I had that auto-fix magic wand icon in my mind but I think it is removed from the material icons collection now. @liyasthomas it would be awesome if you could replace that with something more aesthetically pleasing.

NOTE to Translators: Added new entries for i10n

@AndrewBastin AndrewBastin added the feature New feature or request label Mar 5, 2020
@AndrewBastin AndrewBastin added this to the v2.0 milestone Mar 5, 2020
@AndrewBastin AndrewBastin self-assigned this Mar 5, 2020
@ghost
Copy link

ghost commented Mar 5, 2020

Congratulations 🍻. DeepCode analyzed your code in 0.25 seconds and we found no issues. Enjoy a moment of no bugs ☀️.

💬 This comment has been generated by the DeepCode bot, installed by the owner of the repository. The DeepCode bot protects your repository by detecting and commenting on security vulnerabilities or other critical issues.


☺️ If you want to provide feedback on our bot, here is how to contact us.

@AndrewBastin AndrewBastin merged commit edf544e into hoppscotch:master Mar 6, 2020
@dihmeetree
Copy link
Contributor

@AndrewBastin you beat me to this. I thought about adding this the other day hehe :D Nice!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants