Follow Slashdot stories on Twitter

 



Forgot your password?
typodupeerror

Comment Re:Tabs and Editors (Score 3) 45

I imagine the reason your alignment is thrown off, is because of how different editors handle tab sizes. I think that most editors treat a tab as 8 spaces. However, some programming editors default to a different tab size because 8 spaces is pretty extreme for formatting nested code.

However, most "good" editors will let you change the tab size to something other than default. Another option would be to use spaces instead of tabs. I actually use VIM, and there is an option to automatically expand your tabs to spaces. That way you don't have to worry about tab sizes if you open the file in another editor.

Slashdot Top Deals

I have never seen anything fill up a vacuum so fast and still suck. -- Rob Pike, on X.

Working...