xcode - Custom shortcut with alt key not working -
as of xcode 9 gm, custom shortcut had configured "structure > add documentation
" stopped working. instead of regular behavior, it's printing ÷
instead. i've read several questions on how deal special shortcuts using ukelele example wondering if there way use "old behavior".
steps:
- open xcode >
preferences
>key bindings
- search
add documentation
- set shortcut ⌥ alt7 , press ↵ enter
- add new function, place cursor above it.
function foo(bar: string) {}
- press ⌥ alt7
expected:
new documentation header should inserted xcode
/// insert function documentation here !!! /// /// - parameter bar: parameter doc function foo(bar: string) {}
result:
÷
inserted÷ function foo(bar: string) {}
Comments
Post a Comment