Closed yaocccc closed 2 years ago
It should be disabled by default, seems coc-pyright enables it, send feature request to coc-pyright for configurtion to disable the notification. @fannheyward
It should be disabled by default, seems coc-pyright enables it, send feature request to coc-pyright for configurtion to disable the notification. @fannheyward
Hi, I tryed remove some coc plugin includes coc-pyright but it seem not work.
I try go、vue、js/ts、py、lua and more filetype,It have same
@yaocccc If progressOnInitialization
is true
in the language server related part of the extension, the progress window will be displayed.
To change this behavior, a configuration must be added on the extension side that wraps progressOnInitialization
to true/false.
@yaegassy @yaocccc coc-pyright will add a configuration to toggle the progress.
Thanks, I get it
I set coc-go, coc-pyright, and coc-volar progressOnInitialization is false it worked.
Suggest coc could have a configuration to change this behavior on initialization.
@chemzqm
Please keep this issues
@yaocccc coc-volar
has just added a setting to control it. https://github.com/yaegassy/coc-volar/pull/168
We won't, you can change the code.
Thanks
@chemzqm there're two progress parts:
progressOnInitialization
workDoneProgress
For the first one, coc has disabled it by default, and extensions can provides configurations to enable or not, but coc can't disable the second by now.
but coc can't disable the second by now.
It could, add "progress"
in "disabledFeatures"
Oh I missed disabledFeatures
.
clangd has same problem and the popup window is ugly..
clangd has same problem and the popup window is ugly..
Hi, I think we can commit issues to coc plugins repo
@zoumi coc-clangd will add configuration to disable the progress notifications.
clangd has same problem and the popup window is ugly..
Fix the font in your terminal or configure notification
@zoumi coc-clangd will add configuration to disable the progress notifications.
Don't think that's necessary, it could be configured or use autocmd to close it just after create. The realy problem is they don't like automatic notification
What is the proper way to disable this popup permanently and for all languages? This started to appear since I've updated coc.vim and the extensions, and I find it highly bothersome.
I've tried many ways and syntaxes for "progressOnInitialization": false
in my configuration file, but it's now seemingly enabled by default for all languages. It now appears for both golang and typescript.
but it's now seemingly enabled by default for all languages.
It's not, progressOnInitialization
is disabled by default.
@chemzqm
It's not,
progressOnInitialization
is disabled by default.
I'm on the latest release
branch and the feature is enabled without any specific configuration.
Maybe the changes needs to be released?
It's already used by latest release branch, possible enabled by extension. You can check the source of notification.
All my extensions started to behave this way after I updated coc.vim... I already checked in their documentation and source code, and there is no reference to this.
Just tried various other configuration syntaxes as well as forcefully setting the parameter to false
in the source code of coc.vim, but nothing works to disable this.
I've reverted back my configuration to a random earlier commit (1d85f511f9966b445b5200f35f8db8d4cc0af805) for now, and I don't see it anymore.
I don't understand why this is a per-plugin setting at all? Why can't I disable this globally?
Use "notification.disabledProgressSources": ["*"]
in coc-settings.json to disable all progress notifications.
much apprechiated, works exactly as expected!
Who thought this was a good idea? Damn this is ugly. There goes an hour of my morning...
much apprechiated, works exactly as expected!
Thank you very much for reconsidering and implementing it. I will update my setup ASAP 🙂.
EDIT: Works well! Thank you.
Now initializing message position is buttom right floating. I hope it could be set by myself.
floating, echo, or none