For the default text editor:
- General > Editors > Text Editors > Insert spaces for tabs (check it)
For PHP:
- PHP > Code Style > Formatter > Tab policy (choose "spaces")
- PHP > Code Style > Formatter > Indentation size (set to 4)
For CSS:
- Web > CSS > Editor > Indent using spaces (select it)
- Web > CSS > Editor > Indentation size (set to 4)
For HTML:
- Web > HTML > Editor > Indent using spaces (select it)
- Web > HTML > Editor > Indentation size (set to 4)
For XML:
- XML > XML Files > Editor > Indent using spaces (select it)
- XML > XML Files > Editor > Indentation size (set to 4)
For Javascript:
- Javascript > Preferences > Code Style > Formatter > Edit > Indentation (choose "spaces only")
- Rename the formatter settings profile to save it
For Java:
- Java > Preferences > Code Style > Formatter > Edit > Indentation (choose "spaces only")
- Rename the formatter settings profile to save it
No comments:
Post a Comment