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

Open
yaojun170 opened this issue Jan 4, 2025 · 0 comments
Open

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.

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

No branches or pull requests

1 participant