OK, in Zed, it’s CMD+T (doh
), but in my rather big umbrella project, when I am looking at LSP Logs (RPC Messages), I can see something like this:
// Send:
{"jsonrpc":"2.0","id":67,"method":"workspace/symbol","params":{"query":"repo"}}
// Send:
{"jsonrpc":"2.0","method":"$/cancelRequest","params":{"id":66}}
// Receive:
{"error":{"code":-32603,"message":"** (ErlangError) Erlang error: {:exception, %Protocol.UndefinedError{protocol: Enumerable, value: {:error, {:not_enabled, {:fuzzy, \"repo\", []}}}, description: \"\"}, [{Enumerable, :impl_for!, 1, [file: ~c\"lib/enum.ex\", line: 1]}, {Enumerable, :reduce, 3, [file: ~c\"lib/enum.ex\", line: 166]}, {Enum, :map, 2, [file: ~c\"lib/enum.ex\", line: 4399]}, {LXical.RemoteControl.CodeIntelligence.Symbols, :for_workspace, 1, []}]}\n (kernel 9.2.1) erpc.erl:702: :erpc.call/5\n (lx_server 0.5.0) lib/lexical/server/provider/handlers/workspace_symbol.ex:19: LXical.Server.Provider.Handlers.WorkspaceSymbol.handle/2\n (lx_server 0.5.0) lib/lexical/server/provider/queue.ex:99: anonymous fn/2 in LXical.Server.Provider.Queue.State.as_task/2\n (elixir 1.16.1) lib/task/supervised.ex:101: Task.Supervised.invoke_mfa/2\n (elixir 1.16.1) lib/task/supervised.ex:36: Task.Supervised.reply/4\n"},"id":67}
When I looked at the Lexical source, it seems that there is some indexing happening and until it’s finished, the fuzzy search is not enabled. Is it possible to show some UI alert that I have to wait until it’s done and ideally with current progress?