j-hui / fidget.nvim

💫 Extensible UI for Neovim notifications and LSP progress messages.
MIT License
1.86k stars 56 forks source link

Query progress #246

Open aikixd opened 1 month ago

aikixd commented 1 month ago

Is it possible to get progress on running queries? Some queries can run for a long time on large projects, so when invoking it, nothing happens for quite a while. It would be nice to have a sign of life. I'm using rust analyzer. I'm not sure whether this is part of the $/progress feature or whether the lsp client needs to be inspected for this, in which case this isn't strictly fidget's area, but may be a nice addition.

j-hui commented 1 month ago

What kind of queries? Do you mean something like what was asked in #40 ?

There's not really much that can be done if the LSP server doesn't announce its progress. And I'm not quite sure what you mean about inspecting the LSP client---from Neovim's (and Fidget's) perspective, there's no way to tell how long a query/action/task will or should take, or if the server is even doing any work at all.