Skip to content

Commit

Permalink
fix searching by return proper value for compressed node; fixes #88526
Browse files Browse the repository at this point in the history
  • Loading branch information
weinand committed Jan 16, 2020
1 parent 8e177d4 commit 3bdb031
Showing 1 changed file with 6 additions and 2 deletions.
8 changes: 6 additions & 2 deletions src/vs/workbench/contrib/debug/browser/loadedScriptsView.ts
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,12 @@ export class LoadedScriptsView extends ViewPane {
getId: (element: LoadedScriptsItem) => element.getId()
},
keyboardNavigationLabelProvider: {
getKeyboardNavigationLabel: (element: LoadedScriptsItem) => element.getLabel(),
getCompressedNodeKeyboardNavigationLabel: () => 'foo' // TODO
getKeyboardNavigationLabel: (element: LoadedScriptsItem) => {
return element.getLabel();
},
getCompressedNodeKeyboardNavigationLabel: (elements: LoadedScriptsItem[]) => {
return elements.map(e => e.getLabel()).join('/');
}
},
filter: this.filter,
accessibilityProvider: new LoadedSciptsAccessibilityProvider(),
Expand Down

0 comments on commit 3bdb031

Please sign in to comment.