# LSP java: progress messages

**URL:** <https://discuss.kakoune.com/t/lsp-java-progress-messages/2227>\
**Category:** Help\
**Tags:** lsp\
**Created:** [May 10, 2023, 1:58pm UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227 "2023-05-10T13:58:53Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![mbauhardt](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/m/87869e/32.png) [@mbauhardt](https://discuss.kakoune.com/u/mbauhardt)\
**Post date:** [May 10, 2023, 1:58pm UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227/1 "2023-05-10T13:58:53Z")

</div>

Hi all,  
is someone of you using lsp java? I wanna using it in a multiproject gradle build incl code generation via auto value. Because of theses setup, the lsp process is very hungry and performance intensitive. to figure out whats going on I’ll take a look into lsp-log file or taking a look into the debug buffer.

But I want to have it in the modeline.  
I find [kak-lsp/lsp.kak at 02c65ada44fe36bfa19ebf96b6e5fb11e0423233 · kak-lsp/kak-lsp · GitHub](https://github.com/kak-lsp/kak-lsp/blob/02c65ada44fe36bfa19ebf96b6e5fb11e0423233/rc/lsp.kak#L1816) but i’m still unable to get it working.

anyone of you getting progress messages working to see if the lsp server is compiling what?

thx  
marko

---

<div class="post-metadata">

**Author:** ![krobelus](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/krobelus/32/616_2.png) [@krobelus](https://discuss.kakoune.com/u/krobelus)\
**Post date:** [May 10, 2023, 5:16pm UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227/2 "2023-05-10T17:16:20Z")

</div>

progress requires specific messages from the LSP server.  
I’m not sure which server you are using and if it supports progress.  
looks like `:lsp-capabilities` does not include progress but you can search the kak-lsp log for “progress” type messages

---

<div class="post-metadata">

**Author:** ![mbauhardt](https://discuss.kakoune.com/letter_avatar_proxy/v4/letter/m/87869e/32.png) [@mbauhardt](https://discuss.kakoune.com/u/mbauhardt)\
**Post date:** [May 12, 2023, 9:31am UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227/3 "2023-05-12T09:31:59Z")

</div>

hi @krobelus,  
yes looks like the capabilities doesn’t support it.

 ![lsp-capa](https://discuss.kakoune.com/uploads/default/original/2X/c/ca893161556cc797e4205443695abeeed07033ca.png)

I wonder, because the neovim impl showing this info on their status line.  
maybe the capabilities from the server depends on the client which sending the initial request…

---

<div class="post-metadata">

**Author:** ![krobelus](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/krobelus/32/616_2.png) [@krobelus](https://discuss.kakoune.com/u/krobelus)\
**Post date:** [May 12, 2023, 12:52pm UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227/4 "2023-05-12T12:52:46Z")

</div>

which language server are you using?  
If it’s nontrivial to reproduce, paste logs from both kak-lsp and neovim, those will show the difference in initialization options

---

<div class="post-metadata">

**Author:** ![krobelus](https://discuss.kakoune.com/user_avatar/discuss.kakoune.com/krobelus/32/616_2.png) [@krobelus](https://discuss.kakoune.com/u/krobelus)\
**Post date:** [July 5, 2023, 5:42pm UTC](https://discuss.kakoune.com/t/lsp-java-progress-messages/2227/5 "2023-07-05T17:42:20Z")

</div>

@mbauhardt which language server are you using?
