Open sunn4room opened 4 years ago
Did you find a solution for this? Perhaps for the sake of others running into the same problem you can document what you did here.
Unfortunately, I can't find a perfect solution. Just a temporary solution: copy current buffer into a temp file and toggle tagbar. The next issue is that you can't execute "coc-definition" in the temp file. This issue also happened when I use javacomplete2, and I think the reason is tagbar couldn't resolve "java" type in such url "jdt://...class". I'm not the develop member and I don't yet read the source code of tagbar, I can't resolve this issue myself.
------------------ 原始邮件 ------------------ 发件人: "preservim/tagbar" <notifications@github.com>; 发送时间: 2020年9月24日(星期四) 晚上10:09 收件人: "preservim/tagbar"<tagbar@noreply.github.com>; 抄送: "5unnyRoom"<1795999147@qq.com>;"State change"<state_change@noreply.github.com>; 主题: Re: [preservim/tagbar] compatibility with coc.nvim when use "coc-definition" to show java source code (#658)
Did you find a solution for this? Perhaps for the sake of others running into the same problem you can document what you did here.
— You are receiving this because you modified the open/close state. Reply to this email directly, view it on GitHub, or unsubscribe.
This would probably be resolved by #612 whenever we get that done. I re-opened the issue so we can check back and make sure it does whenever that happens.
when i use "coc-definition" to jump to a new java source code buffer , the tagbar doesn't work in this new buffer. the new buffer has a title like "jdt://...", and probably tagbar is not support such url. any solution, plz...