universal-ctags / citre

A superior code reading & auto-completion tool with pluggable backends.
GNU General Public License v3.0
326 stars 26 forks source link

java support #122

Closed e665107 closed 2 years ago

e665107 commented 2 years ago

Does it support java very well?

masatake commented 2 years ago

ctags has a parser for Java but I cannot say "it works well" because the parser doesn't support modern Java syntax. I had a plan to improve it. However, I cannot find enough time.

AmaiKinono commented 2 years ago

Citre supports Java (as universal ctags supports it). But Citre doesn't have any Java specific extension so I don't think it'll be on par with a Java IDE. One major drawback is you can't complete method/member by typing ..

masatake commented 2 years ago

Oh, sorry. This is the issue for citre. I assumed this is an issue for ctags itself.

e665107 commented 2 years ago

i want to use emacs + tags to see android aosp source code, instead of android ide. But I can't find a good solution!

AmaiKinono commented 2 years ago

@masatake I think there's no such boundary for an end user ;)

@e665107 If you'd stick to a tags file solution, I could think about 2 ways

  1. Maybe you could just try universal ctags + Citre and find it works for you.

  2. I think GNU Global has better support for Java. For now Citre has limited support for GNU Global (find references only) so you have to use other global / gtags plugins in Emacs.

e665107 commented 2 years ago

Hey I have solved this problem by using gtags

AmaiKinono commented 2 years ago

Great. I'll close the issue then.