21 references to Preselect
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (1)
1074await VerifyItemExistsAsync(markup, "RequiredField", inlineDescription: FeaturesResources.Required, matchPriority: MatchPriority.Preselect);
Microsoft.CodeAnalysis.CSharp.Features (2)
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (2)
110matchPriority: MatchPriority.Preselect, 116matchPriority: MatchPriority.Preselect,
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
841if (selectedItem.Rules.MatchPriority >= MatchPriority.Preselect)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (3)
9544("Item4", MatchPriority.Preselect)}) 9573("item1", MatchPriority.Preselect), 10268Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (1)
429Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.Features (7)
Completion\CompletionHelper.cs (2)
205=> (item1.Rules.MatchPriority != MatchPriority.Preselect).CompareTo(item2.Rules.MatchPriority != MatchPriority.Preselect);
Completion\CompletionItemRules.cs (1)
168var matchPriority = preselect ? Completion.MatchPriority.Preselect : Completion.MatchPriority.Default;
Completion\Providers\AbstractObjectCreationCompletionProvider.cs (1)
40rules: GetCompletionItemRules(symbols).WithMatchPriority(MatchPriority.Preselect),
Completion\Providers\AbstractObjectInitializerCompletionProvider.cs (1)
79rules = rules.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect);
Completion\Providers\AbstractSymbolCompletionProvider.cs (1)
242.WithMatchPriority(preselect ? MatchPriority.Preselect : MatchPriority.Default)
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
127? s_rules.WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.LanguageServer.Protocol (2)
Handler\Completion\CompletionHandler.cs (1)
240.Concat(matchResultsBuilder.Skip(completionListMaxSize).Where(match => match.CompletionItem.Rules.MatchPriority == MatchPriority.Preselect))
Handler\Completion\CompletionResultFactory.cs (1)
139lspItem.Preselect = item.Rules.MatchPriority == MatchPriority.Preselect;
Microsoft.CodeAnalysis.LanguageServer.Protocol.UnitTests (1)
Completion\CompletionFeaturesTests.cs (1)
770mockService.NonDefaultRule = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect);
Microsoft.CodeAnalysis.VisualBasic.Features (3)
Completion\CompletionProviders\CompletionListTagCompletionProvider.vb (1)
111rules:=CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect),
Completion\CompletionProviders\EnumCompletionProvider.vb (1)
29Private Shared ReadOnly s_enumMemberCompletionItemRules As CompletionItemRules = CompletionItemRules.Default.WithMatchPriority(MatchPriority.Preselect)
Completion\CompletionProviders\ObjectCreationCompletionProvider.vb (1)
62matchPriority:=MatchPriority.Preselect,