Within Code Editor, you can choose whether to use Tabs or Spaces (also known as soft tabs) for indentation:
- While editing at a file, tap the filename in the tab bar
- Tap Indentation
- Set your preferred indentation style and width
- Choose “Use as Default Indentation” to persist this change across all new and opened documents
If you do not have a default set, Code Editor attempts to auto-detect the indentation. We currently do not support filetype-specific indentation settings.