My layout has recently been updated, but you still have the old stylesheet
cached and things might therefore not look as intended, as such,
it’s recommended to reload the page.
Originally posted by GreenHammerBro
Originally posted by leod
Notepad++ have a tab with of 5 (not exactly sure what is the tab width). However you can change that by going into Settings -> Preferences -> Language and on tab size. Set that to 8.But tabs are always the same width on every person’s individual editor of choice, so I’m not sure how it would differ from spaces...
Whether there’s 2 spaces per level of indent or a tab looking 2/4/8 spaces, the indentation level will always be clearly readable on all ends, while keeping the person’s personal preference of indentation width intact.
Actually, Notepad++ has a default tab width of 4. (Seriously, who uses tab widths that are not a power of 2?)
Originally posted by RPG Hacker
I think leod’s point is that tab width doesn’t even matter as long as you don’t mix tabs with spaces in your document. Indentations will be consistent as long as you use only tabs or only spaces.
This is also the reason why Python allows both spaces and tabs, despite being about as sensitive about whitespace as YAML, because as long as you are consistent with your whitespace, everything will work out just fine.
P.S.: Elastic tabstops are just another advantage of tabs over spaces.