22 references to StringConstants
Microsoft.VisualStudio.LanguageServices.Xaml (22)
CodeFixes\RemoveUnnecessaryUsings\XamlRemoveUnnecessaryUsingsCodeFixProvider.cs (1)
22
[ExportCodeFixProvider(
StringConstants
.XamlLanguageName, Name = PredefinedCodeFixProviderNames.RemoveUnnecessaryImports), Shared]
Diagnostics\Analyzers\XamlDocumentDiagnosticAnalyzer.cs (1)
16
[DiagnosticAnalyzer(
StringConstants
.XamlLanguageName)]
Features\InlineRename\XamlEditorInlineRenameService.cs (1)
21
[ExportLanguageService(typeof(IEditorInlineRenameService),
StringConstants
.XamlLanguageName), Shared]
Features\OrganizeImports\XamlOrganizeImportsService.cs (1)
18
[ExportLanguageService(typeof(IOrganizeImportsService),
StringConstants
.XamlLanguageName), Shared]
Features\OrganizeImports\XamlRemoveUnnecessaryImportsService.cs (1)
16
[ExportLanguageService(typeof(IRemoveUnnecessaryImportsService),
StringConstants
.XamlLanguageName), Shared]
Features\XamlContentTypeLanguageService.cs (2)
14
[ExportContentTypeLanguageService(ContentTypeNames.XamlContentType,
StringConstants
.XamlLanguageName), Shared]
28
return _contentTypeRegistry.GetContentType(
StringConstants
.XamlLanguageName);
Implementation\LanguageClient\XamlCapabilities.cs (1)
38
ExecuteCommandProvider = new ExecuteCommandOptions { Commands = [
StringConstants
.CreateEventHandlerCommand] },
Implementation\LanguageClient\XamlInProcLanguageClient.cs (1)
43
protected override ImmutableArray<string> SupportedLanguages => ImmutableArray.Create(
StringConstants
.XamlLanguageName);
Implementation\LanguageClient\XamlInProcLanguageClientDisableUX.cs (1)
45
protected override ImmutableArray<string> SupportedLanguages => ImmutableArray.Create(
StringConstants
.XamlLanguageName);
Implementation\LanguageServer\ExportStatelessXamlLspServiceAttribute.cs (1)
15
public ExportStatelessXamlLspServiceAttribute(Type handlerType) : base(handlerType,
StringConstants
.XamlLspLanguagesContract, WellKnownLspServerKinds.XamlLspServer)
Implementation\LanguageServer\Extensions\SolutionExtensions.cs (1)
15
=> solution.Projects.Where(p => p.Language ==
StringConstants
.XamlLanguageName);
Implementation\LanguageServer\Handler\Commands\CreateEventCommandHandler.cs (2)
26
[Command(
StringConstants
.CreateEventHandlerCommand)]
35
public override string Command =>
StringConstants
.CreateEventHandlerCommand;
Implementation\LanguageServer\Handler\Completion\CompletionHandler.cs (2)
36
CommandIdentifier =
StringConstants
.RetriggerCompletionCommand,
113
CommandIdentifier =
StringConstants
.CreateEventHandlerCommand,
Implementation\LanguageServer\XamlLspServiceProvider.cs (2)
20
[ImportMany(
StringConstants
.XamlLspLanguagesContract)] IEnumerable<Lazy<ILspService, LspServiceMetadataView>> lspServices,
21
[ImportMany(
StringConstants
.XamlLspLanguagesContract)] IEnumerable<Lazy<ILspServiceFactory, LspServiceMetadataView>> lspServiceFactories)
Implementation\LanguageServer\XamlLspWorkspaceManagerFactory.cs (1)
13
[ExportLspServiceFactory(typeof(LspWorkspaceManager),
StringConstants
.XamlLspLanguagesContract), Shared]
Implementation\LanguageServer\XamlRequestTelemetryLoggerFactory.cs (1)
14
[ExportLspServiceFactory(typeof(RequestTelemetryLogger),
StringConstants
.XamlLspLanguagesContract), Shared]
Implementation\XamlProjectService.cs (1)
157
name,
StringConstants
.XamlLanguageName, projectInfo, CancellationToken.None));
XamlStaticTypeDefinitions.cs (1)
24
[FileExtension(
StringConstants
.XamlFileExtension)]