Closed yaegassy closed 3 years ago
Have you tried using the CocAction("toggleExtension")
to disable the extension?
I have never used CocAction("toggleExtension")
.
It occurred to me that using CocAction("toggleExtension")
would avoid frequent uninstall/install of a extension
Another way to trigger toggleExtension is to use CocList extensions
and disable a extension
I should use the explorer.debug
option to avoid printing too many logs, I'll change the explorer.debug option
behavior later, if you think it's still worth adding an explorer.enable
option, you can express your opinion
I don't use enable/disable in :CocList extension
. Since I don't use it all the time, you might misunderstand its current state.
Since @weirongxu seems to think that the enable option is unnecessary, I will close this PR.
Thanks! 🙇
I think it may not be possible to enable/disable
at the "workspace level" with the :CocList extension
.
However, there may not be a case where you want to enable/disable coc-explorer
at the workspace level, so no problem!
Once again, thanks!
Description
Due to the nature of
coc-explorer
, it outputs a lot of logs in:CocInfo
and coc debug logs.I'm developing some coc extensions, I uninstall
coc-explorer
every time I want to check other coc extensions in detail.I thought it would be useful to have an option to enable/disable.
Misc
If you do not intend to provide the enable/disable option, you can close this PR. 🙇