Commit Graph

6 Commits

Author SHA1 Message Date
Alex Hoppen
32eff21977 [IDE] Remove "Begin completions" and "End completions" from test cases
These test lines weren't actually providing any value and were annoying to write. Let's jut remove them.
2023-03-22 09:07:17 -07:00
Rintaro Ishizaki
154cd88c86 [CodeCompletion] Use 'Flair' to describe "is argument labels" 2021-06-07 17:25:01 -07:00
Rintaro Ishizaki
75a0c9f819 [CodeCompletion] Add 'IsSystem' flag to code completion result item
'key.is_system: 1' is added if the associated declaration is from a
system module.

rdar://problem/62617558
2020-05-11 12:24:36 -07:00
Rintaro Ishizaki
fbb0f6540c [CodeCompletion] Test for 'rawValue' completion in multi file scenario 2019-12-12 01:14:08 -08:00
Rintaro Ishizaki
fdcbefced0 [Completion] Add a test case for CaseIterable enum in other file
Make sure 'allCases' is suggested even if the enum decl is in a
different file.

rdar://problem/57489427
2019-12-04 10:22:31 -08:00
Rintaro Ishizaki
9203080c0e [CodeCompletion] Fix several completion failure in multi-file scenario
- Default memberwise initializer for struct was not suggested
- Dynamic member lookup didn't work
- `init(rawValue:)` was not suggested for `RawRepresentable` types
- '$name' was not suggested for `@propertyWrapper`ed value

rdar://problem/56391233
2019-11-12 12:57:18 +09:00