The Xcode editor should Page Up/Down on Opt + Up/Down arrow

Number:rdar://33695709 Date Originated:03-Aug-2017 02:15 PM
Status:Closed Resolved:09-Aug–2017, 11:03 PM
Product:Developer Tools Product Version:Xcode 9 beta 4
Classification:Enhancement Reproducible:Not Applicable
In Safari for macOS, pressing Option + the up or down arrow key has the effect of Page Up or Page Down, respectively, scrolling the page by up to one viewport height, content permitting. Similarly, Command + Up/Down arrow navigates to the top and bottom most views, respectively

While Xcode’s editor uses the Command + arrow shortcuts, it does not use the Option + arrow ones. These should be added to enable easier navigation in the Xcode editor.

Steps to Reproduce:
1. Open any file in Xcode
2. Press command + up or down arrow to navigate

Expected Results:
The page scrolls in the appropriate direction by one viewport height

Actual Results:
The cursor moves to the next line

Xcode 9 beta 4



Response from dev delations

This issue behaves as intended based on the following:

Option + Up/Down arrow is by default mapped to "Move Paragraph Backward/Forward". This is the default system behavior in macOS text views too, see TextEdit.

By default, Ctrl + Up/Down arrow perform page scroll. This is also the default system behavior in macOS text views, e.g. TextEdit.

You can change the key bindings in Xcode, see Xcode -> Preferences -> Key Bindings. There you can also see the current/default key bindings.

We are now closing this bug report.

If you have questions about the resolution, or if this is still a critical issue for you, then please update your bug report with that information.

Please be sure to regularly check new Apple releases for any updates that might affect this issue.

By harshilshah1910 at Aug. 10, 2017, 5:02 a.m. (reply...)

Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at before they are posted here. Please only post information for Radars that you have filed yourself, and please do not include Apple confidential information in your posts. Thank you!