Command Reference — View category — Insert Spaces for Tabs command

# Insert Spaces for Tabs command

## Summary

Inserts spaces for tabs.

## Description

Inserts spaces instead of a tab character to indent when the Tab key is pressed.

## How to Run

- Default Menu: View > Tab/Indent > Insert Spaces for Tabs

- All Commands: View > Tab/Indent > Insert Spaces for Tabs

- Toolbar:

- Status Bar: None

- Default Shortcut Key: None

## Plug-in Command ID

    EEID_TOGGLE_SPACES_TAB (4541)

## Macros

### [JavaScript]

    editor.ExecuteCommandByID(4541);

### [VBScript]

    editor.ExecuteCommandByID 4541