21 references to Preselect
Microsoft.CodeAnalysis.CSharp.EditorFeatures.UnitTests (1)
Completion\CompletionProviders\ObjectInitializerCompletionProviderTests.cs (1)
991await VerifyItemExistsAsync(markup, "RequiredField", inlineDescription: FeaturesResources.Required, matchPriority: MatchPriority.Preselect);
Microsoft.CodeAnalysis.CSharp.Features (3)
Completion\CompletionProviders\EnumAndCompletionListTagCompletionProvider.cs (1)
33.WithMatchPriority(MatchPriority.Preselect)
Completion\CompletionProviders\ObjectCreationCompletionProvider.cs (2)
111matchPriority: MatchPriority.Preselect, 117matchPriority: MatchPriority.Preselect,
Microsoft.CodeAnalysis.EditorFeatures (1)
IntelliSense\AsyncCompletion\ItemManager.CompletionListUpdater.cs (1)
857if (selectedItem.Rules.MatchPriority >= MatchPriority.Preselect)
Microsoft.CodeAnalysis.EditorFeatures2.UnitTests (4)
IntelliSense\CSharpCompletionCommandHandlerTests.vb (3)
9523("Item4", MatchPriority.Preselect)}) 9552("item1", MatchPriority.Preselect), 10247Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
IntelliSense\CSharpCompletionCommandHandlerTests_DefaultsSource.vb (1)
424Dim rules = CompletionItemRules.Default.WithSelectionBehavior(CompletionItemSelectionBehavior.HardSelection).WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.Features (7)
Completion\CompletionHelper.cs (2)
207=> (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)
207.WithMatchPriority(preselect ? MatchPriority.Preselect : MatchPriority.Default)
EmbeddedLanguages\DateAndTime\DateAndTimeEmbeddedCompletionProvider.cs (1)
127? s_rules.WithMatchPriority(MatchPriority.Preselect)
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Handler\Completion\CompletionHandler.cs (1)
436return completionItem.Rules.MatchPriority == MatchPriority.Preselect && completionItem.Rules.SelectionBehavior == CompletionItemSelectionBehavior.HardSelection;
Microsoft.CodeAnalysis.VisualBasic.Features (4)
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,
Completion\KeywordRecommenders\Expressions\TrueFalseKeywordRecommender.vb (1)
19Dim matchPriority = If(ShouldPreselect(context, cancellationToken), CodeAnalysis.Completion.MatchPriority.Preselect, CodeAnalysis.Completion.MatchPriority.Default)