feat: add symbol palette
The palette intentionally shows narrow to give more prevalence to file contents and see the context.
This commit is contained in:
parent
cfb208f3d8
commit
6e9e00e142
4 changed files with 222 additions and 16 deletions
|
|
@ -449,7 +449,6 @@ const Process = struct {
|
|||
} else if (try cbor.match(m.buf, .{ "highlight_references", tp.extract(&project_directory), tp.extract(&path), tp.extract(&row), tp.extract(&col) })) {
|
||||
self.highlight_references(from, project_directory, path, row, col) catch |e| return from.forward_error(e, @errorReturnTrace()) catch error.ClientFailed;
|
||||
} else if (try cbor.match(m.buf, .{ "symbols", tp.extract(&project_directory), tp.extract(&path) })) {
|
||||
self.logger.print("received to continue symbols", .{});
|
||||
self.symbols(from, project_directory, path) catch |e| return from.forward_error(e, @errorReturnTrace()) catch error.ClientFailed;
|
||||
} else if (try cbor.match(m.buf, .{ "completion", tp.extract(&project_directory), tp.extract(&path), tp.extract(&row), tp.extract(&col) })) {
|
||||
self.completion(from, project_directory, path, row, col) catch |e| return from.forward_error(e, @errorReturnTrace()) catch error.ClientFailed;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue