Every line of 'vscode set tab size' code snippets is scanned for vulnerabilities by our powerful machine learning engine that combs millions of open source libraries, ensuring your JavaScript code is secure.
16 "Tab": function indent(editor) { 17 if (!editor.getOption("indentWithTabs")) { 18 var size = editor.getOption("indentUnit") 19 var indentation = Array(size + 1).join(" ") 20 editor.replaceSelection(indentation, "end") 21 } 22 }
238 public GetTabSize() { 239 return 4; 240 }
316 set tabSize(newValue: number) { 317 if (newValue === this._tabSize) { 318 return; 319 } 320 let oldValue = this._tabSize; 321 let name = 'tabSize'; 322 this._tabSize = newValue; 323 this.stateChanged.emit({ name, oldValue, newValue }); 324 }