18 types derived from TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (18)
Protocol\CompletionParams.cs (1)
16
internal class CompletionParams :
TextDocumentPositionParams
, IPartialResultParams<SumType<CompletionItem[], CompletionList>?>, IWorkDoneProgressOptions
Protocol\DocumentHighlightParams.cs (1)
16
internal class DocumentHighlightParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<DocumentHighlight[]>
Protocol\HoverParams.cs (1)
16
internal class HoverParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
Protocol\LinkedEditingRangeParams.cs (1)
16
internal class LinkedEditingRangeParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
Protocol\Moniker\MonikerParams.cs (1)
17
internal class MonikerParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<Moniker[]>
Protocol\Navigation\CallHierarchyIncomingCallsParams.cs (1)
17
internal class CallHierarchyIncomingCallsParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<CallHierarchyIncomingCall[]>
Protocol\Navigation\CallHierarchyOutgoingCallsParams.cs (1)
17
internal class CallHierarchyOutgoingCallsParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<CallHierarchyOutgoingCall[]>
Protocol\Navigation\CallHierarchyPrepareParams.cs (1)
17
internal class CallHierarchyPrepareParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
Protocol\Navigation\DeclarationParams.cs (1)
16
internal class DeclarationParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\DefinitionParams.cs (1)
16
internal class DefinitionParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\ImplementationParams.cs (1)
16
internal class ImplementationParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\ReferenceParams.cs (1)
16
internal class ReferenceParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<Location[]>
Protocol\Navigation\TypeDefinitionParams.cs (1)
16
internal class TypeDefinitionParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<SumType<Location[], LocationLink[]>>
Protocol\Navigation\TypeHierarchyPrepareParams.cs (1)
17
internal class TypeHierarchyPrepareParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
Protocol\Navigation\TypeHierarchySubtypesParams.cs (1)
17
internal class TypeHierarchySubtypesParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<TypeHierarchyItem[]>
Protocol\Navigation\TypeHierarchySupertypesParams.cs (1)
17
internal class TypeHierarchySupertypesParams :
TextDocumentPositionParams
, IWorkDoneProgressParams, IPartialResultParams<TypeHierarchyItem[]>
Protocol\RenameParams.cs (1)
16
internal class RenameParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
Protocol\SignatureHelpParams.cs (1)
16
internal class SignatureHelpParams :
TextDocumentPositionParams
, IWorkDoneProgressParams
1 instantiation of TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (1)
Extensions\ProtocolConversions.cs (1)
279
return new LSP.
TextDocumentPositionParams
()
22 references to TextDocumentPositionParams
Microsoft.CodeAnalysis.LanguageServer.Protocol (22)
Extensions\ProtocolConversions.cs (1)
277
public static LSP.
TextDocumentPositionParams
PositionToTextDocumentPositionParams(int position, SourceText text, Document document)
Handler\DataTips\DataTipRangeHandler.cs (3)
21
: ILspServiceDocumentRequestHandler<
TextDocumentPositionParams
, VSInternalDataTip?>
26
public TextDocumentIdentifier GetTextDocumentIdentifier(
TextDocumentPositionParams
request)
29
public async Task<VSInternalDataTip?> HandleRequestAsync(
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\AbstractGoToDefinitionHandler.cs (4)
20
internal abstract class AbstractGoToDefinitionHandler : ILspServiceDocumentRequestHandler<LSP.
TextDocumentPositionParams
, LSP.Location[]?>
34
public TextDocumentIdentifier GetTextDocumentIdentifier(LSP.
TextDocumentPositionParams
request) => request.TextDocument;
36
public abstract Task<LSP.Location[]?> HandleRequestAsync(
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken);
38
protected Task<LSP.Location[]?> GetDefinitionAsync(LSP.
TextDocumentPositionParams
request, bool forSymbolType, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\GoToDefinitionHandler.cs (1)
27
public override Task<LSP.Location[]?> HandleRequestAsync(LSP.
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\Definitions\GoToTypeDefinitionHandler.cs (1)
27
public override Task<LSP.Location[]?> HandleRequestAsync(LSP.
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\Highlights\DocumentHighlightHandler.cs (3)
25
internal class DocumentHighlightsHandler : ILspServiceDocumentRequestHandler<
TextDocumentPositionParams
, DocumentHighlight[]?>
41
public TextDocumentIdentifier GetTextDocumentIdentifier(
TextDocumentPositionParams
request) => request.TextDocument;
43
public Task<DocumentHighlight[]?> HandleRequestAsync(
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\Hover\HoverHandler.cs (3)
26
internal sealed class HoverHandler : ILspServiceDocumentRequestHandler<
TextDocumentPositionParams
, Hover?>
40
public TextDocumentIdentifier GetTextDocumentIdentifier(
TextDocumentPositionParams
request) => request.TextDocument;
42
public Task<Hover?> HandleRequestAsync(
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\References\FindImplementationsHandler.cs (3)
21
internal sealed class FindImplementationsHandler : ILspServiceDocumentRequestHandler<LSP.
TextDocumentPositionParams
, LSP.Location[]>
35
public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.
TextDocumentPositionParams
request) => request.TextDocument;
37
public Task<LSP.Location[]> HandleRequestAsync(LSP.
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)
Handler\SignatureHelp\SignatureHelpHandler.cs (3)
26
internal class SignatureHelpHandler(SignatureHelpService signatureHelpService) : ILspServiceDocumentRequestHandler<LSP.
TextDocumentPositionParams
, LSP.SignatureHelp?>
31
public LSP.TextDocumentIdentifier GetTextDocumentIdentifier(LSP.
TextDocumentPositionParams
request) => request.TextDocument;
33
public Task<LSP.SignatureHelp?> HandleRequestAsync(LSP.
TextDocumentPositionParams
request, RequestContext context, CancellationToken cancellationToken)