Within Code Editor, you can choose whether to use Tabs or Spaces (also known as soft tabs) for indentation:

  1. While editing at a file, tap the filename in the tab bar
  2. Tap Indentation
  3. Set your preferred indentation style and width
  4. 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.