Pages: [1]   Go Down
Author Topic: Tabs in source delimited by code tags  (Read 532 times)
0 Members and 1 Guest are viewing this topic.
West Des Moines, Iowa USA
Offline Offline
Sr. Member
****
Karma: 2
Posts: 428
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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...
Logged

There's always a better way!

nr Bundaberg, Australia
Offline Offline
Tesla Member
***
Karma: 121
Posts: 8453
Scattered showers my arse -- Noah, 2348BC.
View Profile
WWW
 Bigger Bigger  Smaller Smaller  Reset Reset

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

AFAIK 4 columns is pretty standard for code.

_______
Rob
Logged

Rob Gray aka the GRAYnomad www.robgray.com

Pages: [1]   Go Up
Jump to: