Go Down

Topic: Tabs in source delimited by code tags (Read 636 times) previous topic - next topic

Morris Dovey

Would it be possible to present source code so that tabs are replaced with space fill to the next tab position?

I understand that everyone has their own preference (I prefer 3), but tab "stops" every 3 or 4 columns generally work better for C/C++ than every 8 columns...
There's always a better way!

Graynomad

I usually run a TABs-to-spaces function in my editor (Notepad++) before posting code.

AFAIK 4 columns is pretty standard for code.

_______
Rob
Rob Gray aka the GRAYnomad www.robgray.com

Go Up