java finding implementations of interface
spacerainbow000 opened this issue · 2 comments
I'm using codequery with Java and I'm wondering whether there is a way to find implementations of an interface. is there a way to do this with one of the search parameters? none of them appear to map to that explicitly (I assume since ctags isn't Java-specific/focused), but one of these should work, right? Is there a search that might include the results I'm looking for, plus extra stuff, that I can do extra filtering down on? worst case scenario i feel like a symbol search on 'implements*{interface-name}' should work but looking for something other than that
@spacerainbow000 This should be available in the ctags tags file. This should be added as a feature.
@spacerainbow000 Turns out cscope does not support java interfaces. And ctags treats java interfaces similar to classes i.e. implements
is treated the same as extends
. It's not so easy for me to add support for java interfaces without have cscope recognize interfaces as just class. So, I won't add this for now.
In the mean time, you can use the Grep feature which is available in the codequery GUI.