Code::Blocks Forums

User forums => Using Code::Blocks => Topic started by: johne53 on November 10, 2009, 03:42:24 pm

Title: Tab expansion
Post by: johne53 on November 10, 2009, 03:42:24 pm
When using the C::B IDE to open source files, I'm often finding that tabs seem to get expanded into spaces (for example, one tab might get turned into four space characters). To be honest this can be very annoying - especially if I'm working with a project that's under version control. My local copy quickly gets out of step with the remote copy for no good reason. Is there a way to disable this automatic tab expansion?
Title: Re: Tab expansion
Post by: MortenMacFly on November 10, 2009, 04:20:30 pm
Is there a way to disable this automatic tab expansion?
Settings -> Editor -> General -> Tab options
Title: Re: Tab expansion
Post by: johne53 on November 10, 2009, 04:34:50 pm
That seems to have done the trick. Thanks!