Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add support for nuget restore commands #6603

Merged
merged 6 commits into from
Nov 3, 2023
Merged
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
Adjust protocol names
  • Loading branch information
dibarbet committed Oct 27, 2023
commit c4d2c24c0b4a77a35c66c1ec5e3e44613c640698
4 changes: 2 additions & 2 deletions src/lsptoolshost/roslynProtocol.ts
Original file line number Diff line number Diff line change
Expand Up @@ -244,7 +244,7 @@ export namespace CodeActionFixAllResolveRequest {
}

export namespace RestoreRequest {
export const method = 'workspace/restore';
export const method = 'workspace/_roslyn_restore';
export const messageDirection: lsp.MessageDirection = lsp.MessageDirection.clientToServer;
export const type = new lsp.ProtocolRequestType<
RestoreParams,
Expand All @@ -256,7 +256,7 @@ export namespace RestoreRequest {
}

export namespace RestorableProjects {
export const method = 'workspace/restorableProjects';
export const method = 'workspace/_roslyn_restorableProjects';
export const messageDirection: lsp.MessageDirection = lsp.MessageDirection.clientToServer;
export const type = new lsp.RequestType0<string[], void>(method);
}