Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

java finding implementations of interface #76

Open
spacerainbow000 opened this issue Oct 15, 2018 · 2 comments
Open

java finding implementations of interface #76

spacerainbow000 opened this issue Oct 15, 2018 · 2 comments
Assignees

Comments

@spacerainbow000
Copy link

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

@ruben2020
Copy link
Owner

@spacerainbow000 This should be available in the ctags tags file. This should be added as a feature.

@ruben2020 ruben2020 self-assigned this Dec 4, 2018
@ruben2020
Copy link
Owner

ruben2020 commented Mar 29, 2020

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants