diff --git a/src/vs/workbench/api/browser/mainThreadEditor.ts b/src/vs/workbench/api/browser/mainThreadEditor.ts index cbc28f4d953f8..5fe9edd01cfd1 100644 --- a/src/vs/workbench/api/browser/mainThreadEditor.ts +++ b/src/vs/workbench/api/browser/mainThreadEditor.ts @@ -377,6 +377,7 @@ export class MainThreadTextEditor { } if (typeof newConfiguration.tabSize !== 'undefined') { newOpts.tabSize = newConfiguration.tabSize; + newOpts.indentSize = newConfiguration.tabSize; } if (typeof newConfiguration.indentSize !== 'undefined') { if (newConfiguration.indentSize === 'tabSize') {