holgerbrandl / r4intellij

An integration of the R programming language into Intellij IDEA
BSD 2-Clause "Simplified" License
148 stars 28 forks source link

Navigation using Alt+Up and Alt+Down should focus the function name, not the keyword #223

Open rillig opened 5 years ago

rillig commented 5 years ago

When I navigate between the top-level functions using the Alt+Up and Alt+Down shortcuts, r4intellij currently places the cursor on the keyword function. In other languages, the cursor is placed on the function name, which allows me to see the references in the right side bar:

image

I regularly use this feature to group functions by context, by looking at their distance on the right-side bar.

Workaround: press Alt+Down, Pos1 each time. This is one shortcut more than ideal, though.

holgerbrandl commented 5 years ago

Seems reasonable. I have never used this type of navigation though.