# Indentation: Tabs vs Spaces

**URL:** https://discourse.roots.io/t/indentation-tabs-vs-spaces/571
**Category:** uncategorized
**Created:** 2013-10-21T18:22:11Z
**Posts:** 2

## Post 1 by @billaddison — 2013-10-21T18:22:11Z

Was wondering why the decision to choose 2-space indentation over a single 4-space tab?

At least for me and the dev team I work with, we’re all working with tab indentation. The reasoning is summed up well by the answer with 250 votes here:

> <https://softwareengineering.stackexchange.com/questions/57/tabs-versus-spaces-what-is-the-proper-indentation-character-for-everything-in-e>

I’d like to know if there’s a rationale behind the 2-space indentation and if there’s an easy way to convert all files to single tab? Also, does anyone else agree/disagree, what’s the community’s general view?

---

## Post 2 by @swalkinshaw — 2013-10-22T18:01:58Z

Personal preference mostly. The only change I could see Roots potentially making would be from 2 spaces to 4 to match up the PSR standards.

Most IDEs have methods of converting spaces to tabs and vice versa.
