Skip to content

Commit 9ec8a5a

Browse files
committed
Add support to view inherited members #2342
The reference view API is used to show the document outline with inherited symbols using the new java.ls extension method. Signed-off-by: Gayan Perera <[email protected]>
1 parent ccb75b1 commit 9ec8a5a

File tree

8 files changed

+477
-297
lines changed

8 files changed

+477
-297
lines changed

package.json

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1150,6 +1150,11 @@
11501150
"command": "_java.learnMoreAboutCleanUps",
11511151
"title": "Learn more about Java Clean Ups",
11521152
"category": "Java"
1153+
},
1154+
{
1155+
"command": "java.action.showExtendedOutline",
1156+
"title": "%java.action.showExtendedOutline%",
1157+
"category": "Java"
11531158
}
11541159
],
11551160
"keybindings": [
@@ -1364,4 +1369,4 @@
13641369
"winston": "^3.2.1",
13651370
"winston-daily-rotate-file": "^3.10.0"
13661371
}
1367-
}
1372+
}

package.nls.json

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -22,5 +22,6 @@
2222
"java.action.showSupertypeHierarchy": "Show Supertype Hierarchy",
2323
"java.action.showSubtypeHierarchy": "Show Subtype Hierarchy",
2424
"java.action.changeBaseType": "Base on this Type",
25-
"java.project.createModuleInfo.command": "Create module-info.java"
26-
}
25+
"java.project.createModuleInfo.command": "Create module-info.java",
26+
"java.action.showExtendedOutline": "Open Extended Outline"
27+
}

0 commit comments

Comments
 (0)