tagbar icon indicating copy to clipboard operation
tagbar copied to clipboard

compatibility with coc.nvim when use "coc-definition" to show java source code

Open sunn4room opened this issue 3 years ago • 3 comments

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...

sunn4room avatar Sep 21 '20 12:09 sunn4room

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.

alerque avatar Sep 24 '20 14:09 alerque

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" <[email protected]>; 发送时间: 2020年9月24日(星期四) 晚上10:09 收件人: "preservim/tagbar"<[email protected]>; 抄送: "5unnyRoom"<[email protected]>;"State change"<[email protected]>; 主题: 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.

sunn4room avatar Sep 24 '20 14:09 sunn4room

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.

alerque avatar Sep 24 '20 17:09 alerque