We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent a4fde6f commit 600b519Copy full SHA for 600b519
src/vs/workbench/contrib/preferences/browser/settingsEditor2.ts
@@ -1356,9 +1356,11 @@ export class SettingsEditor2 extends EditorPane {
1356
keys.forEach(key => this.settingsTreeModel.updateElementsByName(key));
1357
}
1358
1359
- keys.forEach(key => this.renderTree(key));
+ // Attempt to render the tree once rather than
1360
+ // once for each key to avoid redundant calls to this.refreshTree()
1361
+ this.renderTree();
1362
} else {
- return this.renderTree();
1363
1364
1365
1366
0 commit comments