News:

The new Release 25.03 is out! You can download binaries for Windows and many major Linux distros here .

Main Menu

Tab expansion

Started by johne53, November 10, 2009, 03:42:24 PM

Previous topic - Next topic

johne53

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?

MortenMacFly

Quote from: johne53 on November 10, 2009, 03:42:24 PM
Is there a way to disable this automatic tab expansion?
Settings -> Editor -> General -> Tab options
Compiler logging: Settings->Compiler & Debugger->tab "Other"->Compiler logging="Full command line"
C::B Manual: [url="https://www.codeblocks.org/docs/main_codeblocks_en.html"]https://www.codeblocks.org/docs/main_codeblocks_en.html[/url]
C::B FAQ: [url="https://wiki.codeblocks.org/index.php?title=FAQ"]https://wiki.codeblocks.org/index.php?title=FAQ[/url]

johne53

That seems to have done the trick. Thanks!