Go Down

Topic: Tabs in source delimited by code tags (Read 643 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
 


Please enter a valid email to subscribe

Confirm your email address

We need to confirm your email address.
To complete the subscription, please click the link in the email we just sent you.

Thank you for subscribing!

Arduino
via Egeo 16
Torino, 10131
Italy