20 references to FilterText
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\ConversionCompletionProviderTests.cs (1)
67
Assert.Equal("float", c.
FilterText
);
Microsoft.CodeAnalysis.EditorFeatures (7)
IntelliSense\AsyncCompletion\CompletionSource.cs (1)
563
filterText: roslynItem.
FilterText
,
IntelliSense\AsyncCompletion\Helpers.cs (1)
167
item.HasDifferentFilterText && item.
FilterText
.StartsWith(textTypedSoFar, StringComparison.CurrentCultureIgnoreCase) ||
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (2)
315
if (includedPreferredItems.Contains(completionItem.
FilterText
))
318
var defaultIndex = _snapshotData.Defaults.IndexOf(completionItem.
FilterText
);
IntelliSense\AsyncCompletion\RecentItemsManager.cs (3)
36
items = items.Remove(item.
FilterText
);
44
RecentItems = items.Add(item.
FilterText
);
50
return RecentItems.IndexOf(item.
FilterText
);
Microsoft.CodeAnalysis.Features (10)
Completion\CompletionItem.cs (6)
53
/// If provided, each additional string would be used in the same way as <see cref="
FilterText
"/> for item matching.
55
/// of <see cref="
FilterText
"/> when they have identical pattern matching result.
60
/// Returns <see langword="true"/> if <see cref="DisplayText"/> is identical to <see cref="
FilterText
"/>.
360
var newFilterText = filterText.HasValue ? filterText.Value :
FilterText
;
373
newFilterText ==
FilterText
&&
434
/// Creates a copy of this <see cref="CompletionItem"/> with the <see cref="
FilterText
"/> property changed.
Completion\PatternMatchHelper.cs (3)
103
var match = GetMatch(item.
FilterText
, includeMatchSpans, culture);
151
? GetMatch(item.
FilterText
, includeMatchSpans, CultureInfo.CurrentCulture)
156
item.
FilterText
,
SpellCheck\AbstractSpellCheckCodeFixProvider.cs (1)
162
var candidateText = item.
FilterText
;
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionResultFactory.cs (2)
134
if (!lspItem.Label.Equals(item.
FilterText
, StringComparison.Ordinal))
135
lspItem.FilterText = item.
FilterText
;