Explain the gotoline shortcut
As there is an explanation to say "Use CTRL+p" or "Use CTRL+Shift+F" to search files/functions, there should be an explanation to say "Use CTRL+:" (or "CTRL+;" on azerty layouts) to go to a specific line.
"CTRL+:" or "CTRL+;" are really not easy to find out, and the keys are not easy to reach… I wish I could tell the debugger to use "CTRL+G" instead like on Chrome or some IDEs, but an explanation would be great to begin with I think.
if CTRL+g is not used it can be a second (compatibility) shortcut for goto line
CTRL+g is being used, but perhaps not for the most necessary action. It is currently used to search again.
We need to add an explanation in any case; it can be added in the shortcuts overlay.
diff --git a/src/components/ShortcutsModal.js b/src/components/ShortcutsModal.js
index a842b5f0..f5179e4c 100644
--- a/src/components/ShortcutsModal.js
+++ b/src/components/ShortcutsModal.js
@@ -86,6 +86,7 @@ export class ShortcutsModal extends Component<Props> {
L10N.getStr("shortcuts.functionSearch"),
formatKeyShortcut(L10N.getStr("functionSearch.key"))
)}
+ // add the CTRL+: shortcut here
</ul>
);
}
/claim @davisv007, @RobertHosking, @sanginovs and I will be taking a look at it.
Thanks for claiming the issue! :wave:
!!! Please check your email and confirm the invitation
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
/unclaim We got some feedback on a different PR request that we did. Unclaiming it because if anyone wants to work on it can go ahead. Sorry for the inconvenience.
/claim I will be working on this issue along with @michaelm396 & @coledu
Thanks for claiming the issue! :wave:
!!! Please check your email and confirm the invitation
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
the ctrl+g shortcut comes from editors like atom
Try
- cmd+f
- search
- close search bar
- cmd+g - will jump to the next result
http://recordit.co/NVvJZNVJEe
not sure what to do here. we should have a google doc with all of our shortcuts and rationale... hard to keep track of :)
In my Atom (without modfiying it):

/unclaim we were working on this bug for a class and since the semester is almost over now, we are going our separate ways
/claim
Thanks for claiming the issue! :wave:
Here are some links for getting setup, contributing, and developing. We're always happy to answer questions in slack! If you become busy, feel free to /unclaim it.
:fox_face: Debugger team!
How about pressing Ctrl/Cmd+F again jump to the next result instead of clearing the search field if the search input is already open and Ctrl/Cmd+G for go to line #?
Atom and Sublime Text keybindings are not really consistent across platfroms. MacOS uses Cmd+F/Cmd+G for find/find next and Ctrl+G for go to line, while Linux is using Ctrl+F/Ctrl+G for find/go to line and F3 for find next.
https://github.com/nwinkler/atom-keyboard-shortcuts