Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Code::Blocks how to stop auto tab delete?

I know, I know, I should ask this on the C::B forums, but they're down, so I can't. Right, question: I use Code::Blocks as IDE for C++, but it kind of annoys me how it deletes unneccesary tabs on empty lines every time I save. So, is it possible to turn that of, so those tabs can stay there, and I don't have to add them again every time I save? Thanks in advance. - bonjorno7

like image 585
bonjorno7 Avatar asked Jun 01 '26 15:06

bonjorno7


1 Answers

Setting -> Editor -> Uncheck 'Strip trailing blanks' would do it, but also means you might have extra whitespace at the end of lines.

like image 105
Muckle_ewe Avatar answered Jun 04 '26 07:06

Muckle_ewe



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!