Search code examples
c#keyboard-shortcutsridergo-to-definition

JetBrains Rider "go to source" does not work


I usually use pycharm/idea for python and java etc and I often whack F4 to get to the declaration of a class or method. Intellij calls this "go to source" in the keymap editor.

I just recently installed Rider to do some c# work and immediately found F4 to not work. The key is still bound correctly but I end up having to use Ctrl+B to accomplish the same thing which I thought was super weird and annoying. Ctrl+B accomplishes the same thing in Pycharm and IDEA from what I can tell.

Does anyone know why F4 doesn't work in Rider for c# and how I might go about correcting this? Preferably without having to rebind keys.


Solution

  • Both CTRL+B and F4 works on Rider. But they're available in different contexts. And you need to use both to move around the code.

    CTRL+B works when the cursor is on a symbol in the code (i.e. inside the editor). F4 works when viewing quick documentation, in Debugger pane, i.e. outside the editor.