Rintaro Ishizaki
4286c44e72
[CodeCompletion/SourceKit] Consolidate some chunk kinds
...
Consolidate ThrowsKeyword, RethrowsKeyword, and AsyncKeyword to
EffectsSpecifierKeyword.
Abolish 'key.throwsoffset' and 'key.throwslength' as they aren't used.
2020-12-14 12:25:30 -08:00
Rintaro Ishizaki
be7466eb3f
[CodeCompletion] Annotate 'async' functions/initializers in results
...
Similar to how it shows "throws" today.
Introduced CodeCompletionStringChunk::ChunkKind::AsyncKeyword
rdar://problem/72198530
2020-12-14 11:03:24 -08:00
Ben Langmuir
0d42d7d915
[gardening] format changed code
2020-08-25 10:43:43 -07:00
Ben Langmuir
cf87ad805f
[gardening] Move filter name printing alongside other completion methods
2020-08-25 10:39:19 -07:00
Ben Langmuir
34de805d7f
[gardening] Move source text printing alongside other completion methods
2020-08-25 10:39:19 -07:00
Anthony Latsis
9fd1aa5d59
[NFC] Pre- increment and decrement where possible
2020-06-01 15:39:29 +03:00
Rintaro Ishizaki
7086ffb79f
[CodeCompletion] Annotated result type
...
Introduced 'TypeAnnotationBegin' chunk kind for grouping the result type
name chunks.
rdar://problem/62617558
2020-05-11 22:56:22 -07:00
Ben Langmuir
37b98af4e6
[CodeCompletion] Pre-expand closures in argument completion
...
When completing a single argument for a trailing closure, pre-expand the
closure expression syntax instead of using a placeholder. It's not valid
to pass a non-closure anyway.
rdar://62189182
2020-05-06 01:56:41 -04:00
Rintaro Ishizaki
28de43b7ca
[CodeCompletion] Trim whitespaces around the content
2020-04-07 00:50:43 -07:00
Rintaro Ishizaki
773a464e83
[CodeCompletion] Add an option to emit annotated description
2020-04-07 00:46:14 -07:00