Closed gerazov closed 3 years ago
Hi @gerazov
You can use explorer.openAction.select.filter
option to ignored the TagBar
.
Thanks for the tip. I don't know how to set this option.
I tried adding TagBar
and Tagbar
in the CocConfig
but it doesn't do the trick:
"explorer.openAction.select.filter": {
"properties": {
"buftypes": [
"TagBar",
],
"filetypes": [
"TagBar",
],
},
"default": {
"buftypes": [
"Tagbar",
"terminal"
],
"filetypes": [
"vista_kind",
"Tagbar",
"qf"
],
},
},
You should install the coc-json
, it will guide you on how to write the coc-setting.
"explorer.openAction.select.filter": {
"buftypes": [
"Tagbar",
"terminal"
],
"filetypes": [
"vista_kind",
"Tagbar",
"qf"
],
},
Thanks for the reply, but it still doesn't work. This should be in CocConfig right?
It should be the lowercase type name tagbar
Ok great! :partying_face:
Thanks for your help! Maybe put it in the Readme for future users :+1:
I will consider add this into the default explorer.openAction.select.filter
option
Yeah makes sense - I see you already have added Vista there :+1:
You'd better add vista
beside vista_kind
into filter.
Great plugin! :fireworks:
It would be nice if coc-explorer ignored the Tagbar or Vista windows for opening new files. Atm if only a single window with a buffer is open and Tagbar is present it asks where to open the file (A or B).