Skip to content

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

@yaojun170

Description

@yaojun170

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions