-
Notifications
You must be signed in to change notification settings - Fork 1.7k
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
Plugin: keyboard shortcut to add all fields #661
Comments
Another possibility is to have an "add all" in the autocomplete dropdown. |
@axos88 That would be a cool feature and something I have thought of myself! |
this would be cool! Altair is a great tool that uses our codemirror-graphql mode and accomplishes this readily. FWIW, there is a shortcut for automatically adding all required fields for an object type. just type in the name of the field, and before adding brackets, just hit enter, and youll see it automatically add all the required fields for that object. voila! |
@FluorescentHallucinogen has some nice ideas on the UX for this too! |
Yep, see The only thing that may not clear from my last image (final vision) is the "Insert all fields" and "Insert required fields" items are clickable, aren't just static tips. Please also take a look at altair-graphql/altair#753. |
Related: #75
I would love to see a button, or a key combination that will add/autocomplete all direct fields of the current object. Complex fields will be autocompleted to {}, that will need to be manually fileld out.
Example:
Typing
becomes
Also plus if the complex subtypes are added at the end
The text was updated successfully, but these errors were encountered: