36 references to XamlCompletionKind
Microsoft.VisualStudio.LanguageServices.Xaml (36)
Features\Completion\XamlCompletionItem.cs (1)
24
public
XamlCompletionKind
Kind { get; set; }
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (35)
74
var commitCharactersCache = new Dictionary<
XamlCompletionKind
, ImmutableArray<VSInternalCommitCharacter>>();
82
private static CompletionItem CreateCompletionItem(XamlCompletionItem xamlCompletion, DocumentId documentId, SourceText text, Position position, TextDocumentIdentifier textDocument, Dictionary<
XamlCompletionKind
, ImmutableArray<VSInternalCommitCharacter>> commitCharactersCach)
127
private static SumType<string[], VSInternalCommitCharacter[]> GetCommitCharacters(XamlCompletionItem completionItem, Dictionary<
XamlCompletionKind
, ImmutableArray<VSInternalCommitCharacter>> commitCharactersCache)
147
private static CompletionItemKind GetItemKind(
XamlCompletionKind
kind)
151
case
XamlCompletionKind
.Element:
152
case
XamlCompletionKind
.ElementName:
154
case
XamlCompletionKind
.EndTag:
156
case
XamlCompletionKind
.Attribute:
157
case
XamlCompletionKind
.AttachedPropertyValue:
158
case
XamlCompletionKind
.ConditionalArgument:
159
case
XamlCompletionKind
.DataBoundProperty:
160
case
XamlCompletionKind
.MarkupExtensionParameter:
161
case
XamlCompletionKind
.PropertyElement:
163
case
XamlCompletionKind
.ConditionValue:
164
case
XamlCompletionKind
.MarkupExtensionValue:
165
case
XamlCompletionKind
.PropertyValue:
166
case
XamlCompletionKind
.Value:
168
case
XamlCompletionKind
.Event:
169
case
XamlCompletionKind
.EventHandlerDescription:
171
case
XamlCompletionKind
.NamespaceValue:
172
case
XamlCompletionKind
.Prefix:
174
case
XamlCompletionKind
.AttachedPropertyTypePrefix:
175
case
XamlCompletionKind
.MarkupExtensionClass:
176
case
XamlCompletionKind
.Type:
177
case
XamlCompletionKind
.TypePrefix:
179
case
XamlCompletionKind
.LocalResource:
181
case
XamlCompletionKind
.SystemResource:
183
case
XamlCompletionKind
.CData:
184
case
XamlCompletionKind
.Comment:
185
case
XamlCompletionKind
.ProcessingInstruction:
186
case
XamlCompletionKind
.RegionStart:
187
case
XamlCompletionKind
.RegionEnd:
189
case
XamlCompletionKind
.Snippet:
192
Debug.Fail($"Unhandled {nameof(
XamlCompletionKind
)}: {Enum.GetName(typeof(
XamlCompletionKind
), kind)}");