question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Prettify Query shortcut (Shift-Ctrl-P) non-functional for Firefox users

See original GitHub issue

Trying GraphiQL for the first time, the default message has a helpful line:

Prettify Query:  Shift-Ctrl-P (or press the prettify button above)

Unfortunately, at least with Firefox that won’t work, as Firefox has a hard coded key binding for “Shift-Ctrl-P”. Instead it just brings up a Private Browsing window, and the key combination doesn’t make it through to the GraphiQL window:

FF1

Firefox doesn’t natively have any ability to change key bindings either (ugh). There is a “Saka Key” extension which can apparently allow for key binding changes, but that seems pretty non-optimal.

Is there a way to change the GraphiQL key binding instead?

Issue Analytics

  • State:closed
  • Created 4 years ago
  • Comments:14 (10 by maintainers)

github_iconTop GitHub Comments

2reactions
benjiecommented, Aug 28, 2019

Yes; rather than changing we should add the new binding in addition to the old. 👍 Thanks!

1reaction
benjiecommented, Aug 31, 2019

Let’s go with that then, if it works in Firefox. Can you confirm, @nasehim7?

Read more comments on GitHub >

github_iconTop Results From Across the Web

Keyboard shortcuts - Perform common Firefox tasks quickly
Windows & Tabs ; New Private Window, Ctrl + Shift + Pcommand + shift + P ; Open Address or Search in New...
Read more >
DevTools Debugging Tips And Shortcuts (Chrome, Firefox ...
Cmd/Ctrl + Shift + P opens a quick autocomplete search for panels, drawers and all the features within DevTools. Cmd/Ctrl + P opens...
Read more >
Firefox - ArchWiki
Firefox also allows configuration for a profile via a user.js file: ... by pressing Ctrl+Shift+s or by right-clicking on the webpage.
Read more >
Keyboard shortcuts - Chrome Developers
# Global keyboard shortcuts ; Open the Command Menu, Command + Shift + P · Control + Shift + P ; Toggle the...
Read more >
Google Chrome Privacy Whitepaper
For most users on desktop versions of Chrome, the request and complete ... You can learn more about how to control the Android...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found