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

how search all functions include extend parent class in current file #3910

Closed
yaojun170 opened this issue Jan 4, 2025 · 1 comment
Closed

Comments

@yaojun170
Copy link

When I search for all methods in the current Java class file, I use the command+shift+o shortcut key, but it only displays the methods defined in the file itself, not the methods inherited from the parent class. Is there any way to directly display all methods and variables, similar to the command+F12 shortcut key function of IntelliJ Idea?
for example:

public class Animal {
	private int type;
    
    public int getType() {
        return type;
    }
    

}

public class Dog extends Animal{
	public void run(){
	}
}

When I search for all methods in the Dog.java file, only list eat() method, but the getType() method inherited from the parent class Animal not show.

@rgrunber
Copy link
Member

I think this is exactly what #2342 requests. #2590 is partly a step in the right direction but not using the same UI.

I'll close this as a duplicate of that, and hopefully we can prioritize it.

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