Is tab equal to 2 spaces?

Asked by Alaya Camacho

Answer. In most code editors, tabs are not the same as 2 spaces or 4 spaces by default. … Tabs can be seen as a big “jump” in the text, while spaces are always 1 space each. When you move your cursor in the code, you may notice this “jump” when going through tabs as opposed to spaces.

Arthur Nash, BA Contributor
Arthur Nash
4.8/527 ratings

Leave your comment

Leave a Comment

Your email address will not be published. Required fields are marked *