File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change 248248 "command" : " clangd.typeHierarchy.viewParents" ,
249249 "category" : " clangd" ,
250250 "title" : " Types: Show Base Classes" ,
251- "icon" : " $(triangle-up )"
251+ "icon" : " $(type-hierarchy-super )"
252252 },
253253 {
254254 "command" : " clangd.typeHierarchy.viewChildren" ,
255255 "category" : " clangd" ,
256256 "title" : " Types: Show Derived Classes" ,
257- "icon" : " $(triangle-down )"
257+ "icon" : " $(type-hierarchy-sub )"
258258 },
259259 {
260260 "command" : " clangd.typeHierarchy.close" ,
Original file line number Diff line number Diff line change @@ -73,6 +73,8 @@ const dummyNode: TypeHierarchyItem = {
7373class TypeHierarchyTreeItem extends vscode . TreeItem {
7474 constructor ( item : TypeHierarchyItem , direction : TypeHierarchyDirection ) {
7575 super ( item . name ) ;
76+ this . description = item . detail ;
77+ this . iconPath = new vscode . ThemeIcon ( 'symbol-class' ) ;
7678 let subItems = direction === TypeHierarchyDirection . Children ? item . children : item . parents ;
7779 if ( subItems ) {
7880 if ( subItems . length === 0 ) {
You can’t perform that action at this time.
0 commit comments