tabSize property

Object? get tabSize

The size in spaces a tab takes. This is used for two purposes:

  • the rendering width of a tab character;
  • the number of spaces to insert when {@link TextEditorOptions.insertSpaces insertSpaces} is true and indentSize is set to "tabSize".

When getting a text editor's options, this property will always be a number (resolved). When setting a text editor's options, this property is optional and it can be a number or "auto".

Implementation

_i2.Object? get tabSize => _i5.getProperty(
      this,
      'tabSize',
    );
set tabSize (Object? value)

Implementation

set tabSize(_i2.Object? value) {
  _i5.setProperty(
    this,
    'tabSize',
    value ?? _i6.undefined,
  );
}