feat(lsp): rename_symbol: add cursors at rename points for interactive rename
This commit is contained in:
parent
e597fee2e5
commit
a449e0ec97
3 changed files with 15 additions and 19 deletions
|
@ -795,7 +795,7 @@ pub fn rename_symbol(self: *Self, from: tp.pid_ref, file_path: []const u8, row:
|
|||
const response = lsp.send_request(self.allocator, "textDocument/rename", .{
|
||||
.textDocument = .{ .uri = uri },
|
||||
.position = .{ .line = row, .character = col },
|
||||
.newName = "foobar",
|
||||
.newName = "PLACEHOLDER",
|
||||
}) catch return error.LspFailed;
|
||||
defer self.allocator.free(response.buf);
|
||||
var result: []const u8 = undefined;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue