mirror of
https://github.com/apple/swift.git
synced 2025-12-21 12:14:44 +01:00
When completing Foo(<here> We will now provide bar: <#value#> instead of bar: <#value#>) Inserting the rparen caused some problems in practice: * the old behaviour optimized for typing Foo(<complete> instead of Foo(<complete>), which can conflict with user behaviours or ... * in editors with automatic brace-matching, we often conflicted with the editor, leading to extraneous closing parens And in general, it is much more predictable for tooling to either insert matching ( and ) or to not insert either. While this change may not be ideal For users of editors that do not do automatic brace-matching, I believe it is still better overall to have to type a missing paren than to have to delete an extraneous one. rdar://31113161
13 KiB
13 KiB