Xcode's placeholder shortcuts stop working

Originator:juri.pakaste
Number:rdar://34646651 Date Originated:26-Sep-2017 08:33 AM
Status:Open Resolved:
Product:Developer Tools Product Version:9.0
Classification:Security Reproducible:Always
 
Summary:
I've overridden Xcode's placeholder jumping shortcuts because the defaults don't work on a Finnish keyboard. I've had them set to cmd-opt-, and cmd-opt-. for years and years and they've worked fine. Starting with a late Xcode 9 beta and continuing in the release version, the shortcuts work for a while after setting them and then stop working. If I go the the preferences panel it still shows them being set to the values I've chosen, but they don't work anyway. If I set them again to the same values, nothing changes in the Preferences display but now they work again. For a while. Then they stop working. Repeat.

I haven't discovered what triggers the bug, it just happens usually within a few hours.

Steps to Reproduce:
1. Open Xcode preferences
2. Select "Key Bindings"
3. Set "Jump to Next Placeholder" to cmd-opt-. and "Jump to Previous Placeholder" to cmd-opt-,
4. In Xcode editor add some code from autocompletion that adds placeholders
5. Press the shortcuts you've selected

Expected Results:
Xcode jumps between placeholders.

Actual Results:
Xcode jumps between placeholders for a while, but then, usually after an hour or two, stops doing it.

Version:
9.0

Notes:

Comments


Please note: Reports posted here will not necessarily be seen by Apple. All problems should be submitted at bugreport.apple.com 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!