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

Implement workspace/willDeleteFiles notification #48

Open
Tracked by #26
retailcoder opened this issue Mar 12, 2023 · 0 comments
Open
Tracked by #26

Implement workspace/willDeleteFiles notification #48

retailcoder opened this issue Mar 12, 2023 · 0 comments
Labels
component: Server.LSP Issue involves the LSP server process

Comments

@retailcoder
Copy link
Member

Specifications (LSP)

The will delete files request is sent from the client to the server before files are actually deleted as long as the deletion is triggered from within the client either by a user action or by applying a workspace edit. The request can return a WorkspaceEdit which will be applied to workspace before the files are deleted. Please note that clients might drop results if computing the edit took too long or if a server constantly fails on this request. This is done to keep deletes fast and reliable.

Just return null for now.

NOTE: in LSP "files" refers to both files and folders.

@retailcoder retailcoder added the component: Server.LSP Issue involves the LSP server process label Mar 12, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
component: Server.LSP Issue involves the LSP server process
Projects
None yet
Development

No branches or pull requests

1 participant