74 references to LspRequest
Microsoft.CodeAnalysis.LanguageServer.Protocol (74)
Protocol\Extensions\VSMethods.cs (1)
26public static readonly LspRequest<VSGetProjectContextsParams, VSProjectContextList> GetProjectContexts = new LspRequest<VSGetProjectContextsParams, VSProjectContextList>(GetProjectContextsName);
Protocol\Internal\VSInternalMethods.cs (11)
85public static readonly LspRequest<VSInternalDocumentOnAutoInsertParams, VSInternalDocumentOnAutoInsertResponseItem> OnAutoInsert = new LspRequest<VSInternalDocumentOnAutoInsertParams, VSInternalDocumentOnAutoInsertResponseItem>(OnAutoInsertName); 90public static readonly LspRequest<VSInternalKindAndModifier, VSInternalIconMapping> TextDocumentIconMappingResolve = new LspRequest<VSInternalKindAndModifier, VSInternalIconMapping>(TextDocumentIconMappingResolveName); 95public static readonly LspRequest<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]> DocumentPullDiagnostic = new LspRequest<VSInternalDocumentDiagnosticsParams, VSInternalDiagnosticReport[]>(DocumentPullDiagnosticName); 100public static readonly LspRequest<VSInternalWorkspaceDiagnosticsParams, VSInternalWorkspaceDiagnosticReport[]> WorkspacePullDiagnostic = new LspRequest<VSInternalWorkspaceDiagnosticsParams, VSInternalWorkspaceDiagnosticReport[]>(WorkspacePullDiagnosticName); 105public static readonly LspRequest<VSInternalValidateBreakableRangeParams, Range?> TextDocumentValidateBreakableRange = new LspRequest<VSInternalValidateBreakableRangeParams, Range?>(TextDocumentValidateBreakableRangeName); 110public static readonly LspRequest<VSInternalInlineCompletionRequest, VSInternalInlineCompletionList> TextDocumentInlineCompletion = new LspRequest<VSInternalInlineCompletionRequest, VSInternalInlineCompletionList>(TextDocumentInlineCompletionName); 115public static readonly LspRequest<VSInternalUriPresentationParams, WorkspaceEdit?> TextDocumentUriPresentation = new LspRequest<VSInternalUriPresentationParams, WorkspaceEdit?>(TextDocumentUriPresentationName); 120public static readonly LspRequest<VSInternalTextPresentationParams, WorkspaceEdit?> TextDocumentTextPresentation = new LspRequest<VSInternalTextPresentationParams, WorkspaceEdit?>(TextDocumentTextPresentationName); 125public static readonly LspRequest<VSInternalDocumentSpellCheckableParams, VSInternalSpellCheckableRangeReport[]> TextDocumentSpellCheckableRanges = new LspRequest<VSInternalDocumentSpellCheckableParams, VSInternalSpellCheckableRangeReport[]>(TextDocumentSpellCheckableRangesName); 130public static readonly LspRequest<VSInternalWorkspaceSpellCheckableParams, VSInternalWorkspaceSpellCheckableReport[]> WorkspaceSpellCheckableRanges = new LspRequest<VSInternalWorkspaceSpellCheckableParams, VSInternalWorkspaceSpellCheckableReport[]>(WorkspaceSpellCheckableRangesName); 135public static readonly LspRequest<VSInternalMapCodeParams, WorkspaceEdit?> WorkspaceMapCode = new(WorkspaceMapCodeName);
Protocol\Methods.Diagnostics.cs (1)
80public static readonly LspRequest<WorkspaceDiagnosticParams, WorkspaceDiagnosticReport> WorkspaceDiagnostic = new(WorkspaceDiagnosticName);
Protocol\Methods.Document.cs (30)
26public static readonly LspRequest<HoverParams, Hover> TextDocumentHover = new(TextDocumentHoverName); 42public static readonly LspRequest<CodeLensParams, CodeLens[]?> TextDocumentCodeLens = new(TextDocumentCodeLensName); 58public static readonly LspRequest<CodeLens, CodeLens> CodeLensResolve = new(CodeLensResolveName); 82public static readonly LspRequest<object?, object?> WorkspaceCodeLensRefresh = new(WorkspaceCodeLensRefreshName); 99public static readonly LspRequest<FoldingRangeParams, FoldingRange[]?> TextDocumentFoldingRange = new(TextDocumentFoldingRangeName); 119public static readonly LspRequest<SelectionRangeParams, SelectionRange[]?> TextDocumentSelectionRange = new(TextDocumentSelectionRangeName); 148public static readonly LspRequest<DocumentSymbolParams, SumType<SymbolInformation[], DocumentSymbol[]>?> TextDocumentDocumentSymbol = new(TextDocumentDocumentSymbolName); 182public static readonly LspRequest<SemanticTokensParams, SemanticTokens?> TextDocumentSemanticTokensFull = new(TextDocumentSemanticTokensFullName); 200public static readonly LspRequest<SemanticTokensDeltaParams, SumType<SemanticTokens, SemanticTokensDelta>?> TextDocumentSemanticTokensFullDelta = new(TextDocumentSemanticTokensFullDeltaName); 227public static readonly LspRequest<SemanticTokensRangeParams, SemanticTokens?> TextDocumentSemanticTokensRange = new(TextDocumentSemanticTokensRangeName); 246public static readonly LspRequest<object?, object?> WorkspaceSemanticTokensRefresh = new(WorkspaceSemanticTokensRefreshName); 265public static readonly LspRequest<InlayHintParams, InlayHint[]?> TextDocumentInlayHint = new(TextDocumentInlayHintName); 289public static readonly LspRequest<InlayHint, InlayHint> InlayHintResolve = new(InlayHintResolveName); 307public static readonly LspRequest<object?, object?> WorkspaceInlayHintRefresh = new(WorkspaceInlayHintRefreshName); 326public static readonly LspRequest<InlineValueParams, SumType<InlineValueText, InlineValueVariableLookup, InlineValueEvaluatableExpression>[]?> TextDocumentInlineValue = new(TextDocumentInlineValueName); 344public static readonly LspRequest<object?, object?> WorkspaceInlineValueRefresh = new(WorkspaceInlineValueRefreshName); 366public static readonly LspRequest<MonikerParams, Moniker[]?> TextDocumentMoniker = new(TextDocumentMonikerName); 386public static readonly LspRequest<CompletionParams, SumType<CompletionItem[], CompletionList>?> TextDocumentCompletion = new(TextDocumentCompletionName); 402public static readonly LspRequest<CompletionItem, CompletionItem> TextDocumentCompletionResolve = new(TextDocumentCompletionResolveName); 418public static readonly LspRequest<SignatureHelpParams, SignatureHelp?> TextDocumentSignatureHelp = new(TextDocumentSignatureHelpName); 436public static readonly LspRequest<CodeActionParams, SumType<Command, CodeAction>[]?> TextDocumentCodeAction = new(TextDocumentCodeActionName); 457public static readonly LspRequest<CodeAction, CodeAction> CodeActionResolve = new(CodeActionResolveName); 487public static readonly LspRequest<DocumentColorParams, ColorInformation[]> TextDocumentDocumentColor = new(TextDocumentDocumentColorName); 516public static readonly LspRequest<ColorPresentationParams, ColorPresentation[]> TextDocumentColorPresentation = new(TextDocumentColorPresentationName); 532public static readonly LspRequest<DocumentFormattingParams, TextEdit[]?> TextDocumentFormatting = new(TextDocumentFormattingName); 548public static readonly LspRequest<DocumentRangeFormattingParams, TextEdit[]?> TextDocumentRangeFormatting = new(TextDocumentRangeFormattingName); 564public static readonly LspRequest<DocumentOnTypeFormattingParams, TextEdit[]?> TextDocumentOnTypeFormatting = new(TextDocumentOnTypeFormattingName); 581public static readonly LspRequest<RenameParams, WorkspaceEdit?> TextDocumentRename = new(TextDocumentRenameName); 600public static readonly LspRequest<PrepareRenameParams, SumType<RenameRange, DefaultBehaviorPrepareRename, Range>?> TextDocumentPrepareRename = new(TextDocumentPrepareRenameName); 619public static readonly LspRequest<LinkedEditingRangeParams, LinkedEditingRanges?> TextDocumentLinkedEditingRange = new(TextDocumentLinkedEditingRangeName);
Protocol\Methods.DocumentSynchronization.cs (1)
77public static readonly LspRequest<WillSaveTextDocumentParams, TextEdit[]?> TextDocumentWillSaveWaitUntil = new(TextDocumentWillSaveWaitUntilName);
Protocol\Methods.Lifecyle.cs (4)
26public static readonly LspRequest<InitializeParams, InitializeResult> Initialize = new(InitializeName); 59public static readonly LspRequest<RegistrationParams, object> ClientRegisterCapability = new(ClientRegisterCapabilityName); 75public static readonly LspRequest<UnregistrationParams, object> ClientUnregisterCapability = new(ClientUnregisterCapabilityName); 130public static readonly LspRequest<object?, object> Shutdown = new(ShutdownName);
Protocol\Methods.Navigation.cs (14)
31public static readonly LspRequest<DeclarationParams, SumType<Location, Location[], LocationLink[]>?> TextDocumentDeclaration = new(TextDocumentDeclarationName); 50public static readonly LspRequest<DefinitionParams, SumType<Location, Location[], LocationLink[]>?> TextDocumentDefinition = new(TextDocumentDefinitionName); 69public static readonly LspRequest<TypeDefinitionParams, SumType<Location, Location[], LocationLink[]>?> TextDocumentTypeDefinition = new(TextDocumentTypeDefinitionName); 88public static readonly LspRequest<ImplementationParams, SumType<Location, Location[], LocationLink[]>?> TextDocumentImplementation = new(TextDocumentImplementationName); 104public static readonly LspRequest<ReferenceParams, Location[]?> TextDocumentReferences = new(TextDocumentReferencesName); 126public static readonly LspRequest<CallHierarchyPrepareParams, CallHierarchyItem[]?> PrepareCallHierarchy = new(PrepareCallHierarchyName); 144public static readonly LspRequest<CallHierarchyIncomingCallsParams, CallHierarchyIncomingCall[]?> CallHierarchyIncomingCalls = new(CallHierarchyIncomingCallsName); 161public static readonly LspRequest<CallHierarchyOutgoingCallsParams, CallHierarchyOutgoingCall[]?> CallHierarchyOutgoingCalls = new(CallHierarchyOutgoingCallsName); 187public static readonly LspRequest<TypeHierarchyPrepareParams, TypeHierarchyItem[]?> PrepareTypeHierarchy = new(PrepareTypeHierarchyName); 206public static readonly LspRequest<TypeHierarchySupertypesParams, TypeHierarchyItem[]?> TypeHierarchySupertypes = new(TypeHierarchySupertypesName); 223public static readonly LspRequest<TypeHierarchySubtypesParams, TypeHierarchyItem[]?> TypeHierarchySubtypes = new(TypeHierarchySubtypesName); 245public static readonly LspRequest<DocumentHighlightParams, DocumentHighlight[]?> TextDocumentDocumentHighlight = new(TextDocumentDocumentHighlightName); 261public static readonly LspRequest<DocumentLinkParams, DocumentLink[]?> TextDocumentDocumentLink = new(TextDocumentDocumentLinkName); 277public static readonly LspRequest<DocumentLink, DocumentLink> DocumentLinkResolve = new(DocumentLinkResolveName);
Protocol\Methods.Window.cs (3)
43public static readonly LspRequest<ShowMessageRequestParams, MessageActionItem> WindowShowMessageRequest = new(WindowShowMessageRequestName); 61public static readonly LspRequest<ShowDocumentParams, ShowDocumentResult> WindowShowDocument = new(WindowShowDocumentName); 95public static readonly LspRequest<WorkDoneProgressCreateParams, object?> WindowWorkDoneProgressCreate = new(WindowWorkDoneProgressCreateName);
Protocol\Methods.Workspace.cs (9)
27public static readonly LspRequest<WorkspaceSymbolParams, SumType<SymbolInformation[], WorkspaceSymbol[]>?> WorkspaceSymbol = new(WorkspaceSymbolName); 44public static readonly LspRequest<WorkspaceSymbol, WorkspaceSymbol> WorkspaceSymbolResolve = new(WorkspaceSymbolResolveName); 63public static readonly LspRequest<ConfigurationParams, object?[]> WorkspaceConfiguration = new(WorkspaceConfigurationName); 98public static readonly LspRequest<object?, WorkspaceFolder?[]> WorkspaceFolders = new(WorkspaceFoldersName); 143public static readonly LspRequest<CreateFilesParams?, WorkspaceEdit?> WorkspaceWillCreateFiles = new(WorkspaceWillCreateFilesName); 183public static readonly LspRequest<RenameFilesParams?, WorkspaceEdit?> WorkspaceWillRenameFiles = new(WorkspaceWillRenameFilesName); 223public static readonly LspRequest<DeleteFilesParams?, WorkspaceEdit?> WorkspaceWillDeleteFiles = new(WorkspaceWillDeleteFilesName); 282public static readonly LspRequest<ExecuteCommandParams, object?> WorkspaceExecuteCommand = new(WorkspaceExecuteCommandName); 298public static readonly LspRequest<ApplyWorkspaceEditParams, ApplyWorkspaceEditResponse> WorkspaceApplyEdit = new(WorkspaceApplyEditName);