Skip to content

Commit

Permalink
add for settings editor
Browse files Browse the repository at this point in the history
  • Loading branch information
meganrogge committed Jan 22, 2025
1 parent 84cbbb8 commit e776848
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 0 deletions.
1 change: 1 addition & 0 deletions src/vs/platform/list/browser/listService.ts
Original file line number Diff line number Diff line change
Expand Up @@ -865,6 +865,7 @@ export interface IWorkbenchObjectTreeOptions<T, TFilterData> extends IObjectTree
readonly accessibilityProvider: IListAccessibilityProvider<T>;
readonly overrideStyles?: IStyleOverride<IListStyles>;
readonly selectionNavigation?: boolean;
readonly scrollToActiveElement?: boolean;
}

export class WorkbenchObjectTree<T extends NonNullable<any>, TFilterData = void> extends ObjectTree<T, TFilterData> {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -2560,6 +2560,7 @@ export class SettingsTree extends WorkbenchObjectTree<SettingsTreeElement> {
{
horizontalScrolling: false,
supportDynamicHeights: true,
scrollToActiveElement: true,
identityProvider: {
getId(e) {
return e.id;
Expand Down

0 comments on commit e776848

Please sign in to comment.