Don't serialize the full LSP symbol when collaborating

Co-Authored-By: Nathan Sobo <nathan@zed.dev>
This commit is contained in:
Antonio Scandurra 2022-02-22 18:08:43 +01:00
parent 72ad3c2897
commit fad335b2ba
7 changed files with 68 additions and 55 deletions

View file

@ -188,8 +188,11 @@ message Symbol {
uint64 source_worktree_id = 1;
uint64 worktree_id = 2;
string language_name = 3;
string path = 4;
bytes lsp_symbol = 5;
string name = 4;
int32 kind = 5;
string path = 6;
Point start = 7;
Point end = 8;
}
message OpenBufferForSymbol {
@ -620,6 +623,11 @@ message Range {
uint64 end = 2;
}
message Point {
uint32 row = 1;
uint32 column = 2;
}
message Nonce {
uint64 upper_half = 1;
uint64 lower_half = 2;