Ich*_*nto 5 java visual-studio-code
VS code 有没有办法显示从超类继承的字段/方法?
我有这个基类:
public abstract class BaseModel {
@Transient
public String SEQUENCE_NAME;
@Id
public long id;
public long getId() {
return id;
}
public void setId(long id) {
this.id = id;
}
Run Code Online (Sandbox Code Playgroud)
这是儿童班
public class NavigationMenuItem extends BaseModel {
private String text;
private String path;
public NavigationMenuItem(String text, String path) {
SEQUENCE_NAME = "navigation_menu_item_sequence";
this.setText(text);
this.setPath(path);
}
public String getText() {
return text;
}
public void setText(String text) {
this.text = text;
}
public String getPath() {
return path;
}
public void setPath(String path) {
this.path = path;
}
}
Run Code Online (Sandbox Code Playgroud)
在 VS Code Java Outline 窗格中,它仅显示NavigationMenuItem.
有没有办法也包含父字段/方法?
| 归档时间: |
|
| 查看次数: |
1014 次 |
| 最近记录: |