Closed vitaly-zdanevich closed 4 months ago
I set minProgressWidth
to 300 - but still width is not enough to see the full error message.
Set "notification.statusLineProgress": true
, will display the progress notification on status line. Maybe the status line is not enough to see the full message too 😞
Another way to see the error message: :CocCommand workspace.showOutput languageserver.go
to see the trace logs.
Thanks, I tried
call coc#config('notification', { 'statusLineProgress': 'true' })
but nothing changed - nothing in the status line.
I solved it by
call coc#config('notification', { 'minProgressWidth': 200, 'maxWidth': 200 })
So now I have:
I made a test for the long notification, the error message was wrapped to lines with Vi IMproved 9.1 9010050:
Use C-f
to scroll:
nnoremap <silent><nowait><expr> <C-f> coc#float#has_scroll() ? coc#float#scroll(1) : "\<C-f>"
nnoremap <silent><nowait><expr> <C-b> coc#float#has_scroll() ? coc#float#scroll(0) : "\<C-b>"
In nvim, C-ww
can jump into the notification window:
but nothing changed - nothing in the status line.
Oh this is because I disabled the status line.
I don't have "notification.statusLineProgress": true
in my test, the notification displayed in floating window, not status line.
My question is: the notification should display message in lines, but yours not. Still debuging on this.
coc.nvim version: 0.0.82-7a50d4d9 2022-08-01 01:37:29 +0800
Upgrade your coc.nvim to latest release
, this has been already fixed.
Latest release is 0.0.82, and I have the same git tag.
It's recommended to use the release branch, tag release is outdated.
" Use release branch (recommended)
Plug 'neoclide/coc.nvim', {'branch': 'release'}
" Or build from source code by using npm
Plug 'neoclide/coc.nvim', {'branch': 'master', 'do': 'npm ci'}
In one project I have no such error, but I have in another one:
I think you should print something usefull here.
Result from CocInfo