Scroll-to-top keyboard shortcut?

I know it must be in there somewhere, but I can't see any way to map a keyboard shortcut that scrolls to the top or bottom of a file in the editor, preferably without changing the caret position.

Usually the "home" key on a mac behaves this way, but it seems impossible in IDEA.  Can someone point me in the right direction?

4 comments
Comment actions Permalink

Hi Sean,

There are no such actions at IJ editor. The closest actions are 'Scroll Up', 'Scroll Down' and 'Scroll to Center'. You can configure their shortcuts via 'IDE Settings -> Keymap'.

Denis

0
Comment actions Permalink

Hi Denis,

That's unfortunate.  Is there any chance of this becoming available in a future version, or is there some way to script such an action?

Thanks,
Sean

0
Comment actions Permalink

sreilly wrote:

Hi Denis,

That's unfortunate.  Is there any chance of this becoming available in a future version, or is there some way to script such an action?

Thanks,
Sean


I created the ticket - IDEA-65422. It won't take too much to implement, so, I think it will be delivered as a part of IntelliJ IDEA 10.5 release.

Denis

0
Comment actions Permalink

Wonderful, thanks!

0

Please sign in to leave a comment.