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
18dc9c1c27
[CodeCompletion] Remove CodeComletionString::getName()
...
`CodeCompletioString::getName()` was used only as the sorting keys in
`CodeCompletionContext::sortCompletionResults()` which is effectively
deprecated. There's no reason to check them in `swift-ide-test`. Instead,
check `printCodeCompletionResultFilterName()` that is actually used for
filtering.
2021-07-16 13:24:19 -07:00
Rintaro Ishizaki
6dd5d9482f
[CodeCompletion] Introduce "Flair" in code completion
...
To describe fine grained priorities.
Introduce 'CodeCompletionFlair' that is a set of more descriptive flags for
prioritizing completion items. This aims to replace '
SemanticContextKind::ExpressionSpecific' which was a "catch all"
prioritization flag.
2021-06-07 17:25:01 -07:00
Rintaro Ishizaki
d4da603960
[CodeCompeltion] Suggest 'macOS' instead of 'OSX'
...
'macOS' is the preferred name for specifying the platform. Since 'OSX'
is deprecated, we don't need to suggest 'OSX' variants.
rdar://problem/64379019
2020-06-17 14:09:25 -07:00
Dmitri Gribenko
d175b3b66d
Migrate FileCheck to %FileCheck in tests
2016-08-10 23:52:02 -07:00
Doug Gregor
823c24b355
[SE-0112] Rename ErrorProtocol to Error.
...
This is bullet (5) of the proposed solution in SE-0112, and the last
major piece to be implemented.
2016-07-12 10:53:52 -07:00
Dmitri Gribenko
a257715fcc
Revert "[stdlib] [SE-0031] update stdlib for SE-0031 (inout adjustment)"
2016-02-26 11:17:10 -08:00
Daniel Duan
13b5c8f3bc
[SE-0031] update code base for SE-0031 (inout adjustment)
2016-02-26 10:52:10 -08:00
Xi Ge
6c983366cc
[CodeComplete] Show #available completion only in guard and if statements. rdar://23228191
...
Swift SVN r32893
2015-10-26 20:54:00 +00:00
Xi Ge
3f79328949
Put no assumption on argument evaluation order, NFC.
...
Swift SVN r32849
2015-10-23 20:25:29 +00:00
Xi Ge
afe90ff3c2
[CodeComplete] Suggested by Ben, deliver #available completion after # token and add placeholder to represent platform names.
...
Swift SVN r32847
2015-10-23 19:49:57 +00:00
Xi Ge
c783def2f5
[CodeCompletion] Add code completion for platform names inside #available() condition.
...
The code for generating the code completion string reuses that of the @available attribute.
rdar://21467109
Swift SVN r30346
2015-07-18 00:10:37 +00:00