Skip to content

Renaming implementation on client differs from VS Code #1319

@sergeysavchuk

Description

@sergeysavchuk

Use case:
When renaming a symbol, a set of files should be renamed.

Flow:

  • Client sends textDocument/rename request to LS.
  • LS responds with WorkspaceEdit containing RenameFile ResourceOperation.
  • Client applies the operation in com.redhat.devtools.lsp4ij.LSPIJUtils#applyWorkspaceEdit(org.eclipse.lsp4j.WorkspaceEdit, java.lang.String)

Actual result:
Client doesn’t send workspace/didRenameFiles notification for files from RenameFile operation.

Expected result:
As in VS Code, the client should send workspace/didRenameFiles notification for files from RenameFile operation.

Metadata

Metadata

Assignees

Labels

bugSomething isn't working

Type

Projects

Status

In Progress

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions