Author Topic: the tab question  (Read 2683 times)

Offline waterlin

  • Single posting newcomer
  • *
  • Posts: 6
the tab question
« on: December 16, 2009, 04:56:09 am »
While I press Tab or indent the code, Code::Blocks will indent my code with a real tab.

This is not the way I want. I want Code::Blocks to replace the tab with 4 or 8 blank spaces. I try to set it in Code::Blocks --> Setting --> Editors, but it seems doesn't work.

Is it the right way to set it?

Thanks

Water Lin

Offline Pecan

  • Plugin developer
  • Lives here!
  • ****
  • Posts: 2778
Re: the tab question
« Reply #1 on: December 16, 2009, 02:43:50 pm »
MainMenu->Settings->Editor->GeneralSettings
See "Tab Options"

This has been working correctly for many years for me.

What OS are you running?
What version of CodeBlocks?
Tell us what steps to take to cause it to fail.
« Last Edit: December 16, 2009, 02:46:20 pm by Pecan »

Offline waterlin

  • Single posting newcomer
  • *
  • Posts: 6
Re: the tab question
« Reply #2 on: December 18, 2009, 04:05:07 am »
I think I set it right now. I just made a mistake by setting the wrong parameters. Sorry for this.

Thanks

Water Lin