8 instantiations of WorkspaceEdit
Microsoft.CodeAnalysis.LanguageServer.Protocol (8)
Handler\CodeActions\CodeActionResolveHelper.cs (5)
86return new LSP.WorkspaceEdit { DocumentChanges = Array.Empty<TextDocumentEdit>() }; 96return new LSP.WorkspaceEdit { DocumentChanges = Array.Empty<TextDocumentEdit>() }; 107return new LSP.WorkspaceEdit { DocumentChanges = Array.Empty<TextDocumentEdit>() }; 118return new LSP.WorkspaceEdit { DocumentChanges = Array.Empty<TextDocumentEdit>() }; 200return new LSP.WorkspaceEdit { DocumentChanges = textDocumentEdits.ToArray() };
Handler\MapCode\MapCodeHandler.cs (2)
63return new WorkspaceEdit 74return new WorkspaceEdit
Handler\Rename\RenameHandler.cs (1)
84return new WorkspaceEdit { DocumentChanges = documentEdits };
24 references to WorkspaceEdit
Microsoft.CodeAnalysis.LanguageServer.Protocol (24)
Handler\CodeActions\CodeActionResolveHelper.cs (2)
23public static Task<LSP.WorkspaceEdit> GetCodeActionResolveEditsAsync(RequestContext context, CodeActionResolveData data, ImmutableArray<CodeActionOperation> operations, CancellationToken cancellationToken) 37public static async Task<LSP.WorkspaceEdit> GetCodeActionResolveEditsAsync(Solution solution, CodeActionResolveData data, ImmutableArray<CodeActionOperation> operations, ResourceOperationKind[] resourceOperations, Action<string> logFunction, CancellationToken cancellationToken)
Handler\MapCode\MapCodeHandler.cs (2)
24internal sealed class MapCodeHandler : ILspServiceRequestHandler<VSInternalMapCodeParams, LSP.WorkspaceEdit?> 35public async Task<WorkspaceEdit?> HandleRequestAsync(VSInternalMapCodeParams request, RequestContext context, CancellationToken cancellationToken)
Handler\Rename\RenameHandler.cs (3)
24internal sealed class RenameHandler() : ILspServiceDocumentRequestHandler<LSP.RenameParams, WorkspaceEdit?> 31public Task<WorkspaceEdit?> HandleRequestAsync(RenameParams request, RequestContext context, CancellationToken cancellationToken) 34internal static async Task<WorkspaceEdit?> GetRenameEditAsync(Document document, LinePosition linePosition, string newName, CancellationToken cancellationToken)
Protocol\ApplyWorkspaceEditParams.cs (1)
34public WorkspaceEdit Edit
Protocol\CodeAction.cs (1)
99public WorkspaceEdit? Edit
Protocol\Internal\VSInternalMapCodeParams.cs (1)
30public WorkspaceEdit? Updates
Protocol\Internal\VSInternalMethods.cs (5)
115public static readonly LspRequest<VSInternalUriPresentationParams, WorkspaceEdit?> TextDocumentUriPresentation = new LspRequest<VSInternalUriPresentationParams, WorkspaceEdit?>(TextDocumentUriPresentationName); 120public static readonly LspRequest<VSInternalTextPresentationParams, WorkspaceEdit?> TextDocumentTextPresentation = new LspRequest<VSInternalTextPresentationParams, WorkspaceEdit?>(TextDocumentTextPresentationName); 135public static readonly LspRequest<VSInternalMapCodeParams, WorkspaceEdit?> WorkspaceMapCode = new(WorkspaceMapCodeName);
Protocol\Methods.Document.cs (1)
581public static readonly LspRequest<RenameParams, WorkspaceEdit?> TextDocumentRename = new(TextDocumentRenameName);
Protocol\Methods.Workspace.cs (6)
130/// The request can return a <see cref="WorkspaceEdit"/> which will be applied to the workspace before the files are created 143public static readonly LspRequest<CreateFilesParams?, WorkspaceEdit?> WorkspaceWillCreateFiles = new(WorkspaceWillCreateFilesName); 170/// The request can return a <see cref="WorkspaceEdit"/> which will be applied to the workspace before the files are renamed. 183public static readonly LspRequest<RenameFilesParams?, WorkspaceEdit?> WorkspaceWillRenameFiles = new(WorkspaceWillRenameFilesName); 210/// The request can return a <see cref="WorkspaceEdit"/> which will be applied to workspace before the files are deleted. 223public static readonly LspRequest<DeleteFilesParams?, WorkspaceEdit?> WorkspaceWillDeleteFiles = new(WorkspaceWillDeleteFilesName);
Protocol\WorkspaceClientCapabilities.cs (1)
27/// Capabilities specific to <see cref="Protocol.WorkspaceEdit"/>
Protocol\WorkspaceEditSetting.cs (1)
18/// Whether the client supports versioned document changes in <see cref="WorkspaceEdit"/>