Brent Royal-Gordon
0e569f5d9e
Add support for #fileID
...
This temporarily breaks -enable-experimental-concise-pound-file.
fixup adding #fileID
2020-07-13 14:05:13 -07:00
Brent Royal-Gordon
672bd40866
Enable #filePath code completion (and fix a bug)
...
The meaning of EnableConcisePoundFile is going to shift slightly, so it makes sense to always include #filePath in completions. Also, @rintaro confirmed that this should be using KeywordKind::pound_filePath, not KeywordKind::pound_file.
2020-07-13 14:05:13 -07:00
Rintaro Ishizaki
e2a4621b14
[CodeCompletion] Suggest #selector and #keyPath after # only if applicable
...
Also, add type annotation, and make it `TypeRelation[Identical]`.
'ExprSpecific' is too strong.
2019-05-21 17:25:53 -07:00
Rintaro Ishizaki
83084e2b5f
[CodeCompletion] Suggest 'file', 'line', et al. after #
...
rdar://problem/47169238
2019-05-21 17:24:59 -07:00
Rintaro Ishizaki
eed3df9e57
[CodeCompletion] Add test case for #<complete> at expression position
2018-08-24 12:24:54 +09:00