Page 1 of 1

Feature Request : Option for Tabs to Spaces

Posted: Mon Aug 25, 2008 11:02 pm
by rajah
I love Codelite, esp keyboard short cuts and cscope :D .
Unless I am completely missing it, I dont see an option for
replaceing Tabs to spaces. Is it possible to add it?

Keep it up.

Thanks,
Rajah

Re: Feature Request : Option for Tabs to Spaces

Posted: Tue Aug 26, 2008 12:02 am
by eranif
U can set it from:
Settings -> Editor -> and uncheck 'Use tabs for indentation'

From this point, whenever you hit <TAB> codelite will place X spaces instead (as defined in 'Settings -> Editor -> Editor Tabs width'

From this point on, also when using identation (Ctrl-I) spaces will be used.

Eran

Re: Feature Request : Option for Tabs to Spaces

Posted: Tue Aug 26, 2008 12:42 am
by rajah
Did not know that, guess I was confused.
Thanks for the tip.

Rajah

Re: Feature Request : Option for Tabs to Spaces

Posted: Mon May 11, 2009 7:34 pm
by foxmuldr
eranif wrote:U can set it from:
Settings -> Editor -> and uncheck 'Use tabs for indentation'

From this point, whenever you hit <TAB> codelite will place X spaces instead (as defined in 'Settings -> Editor -> Editor Tabs width'
From this point on, also when using identation (Ctrl-I) spaces will be used.
Eran
I also think this is confusing. There should at least be a label on the CodeFormatter screen saying: "Note: Tabs to spaces conversion comes from Settings -> Editor -> Editor Tabs". In the alternative, I think better CodeFormatter screen options would be:

[x] Use Codelite's editor tabs/spaces settings?

And if not checked, then two more options appear:
[x] Convert to [###] spaces
[x] Convert to tabs

Otherwise, great features in code formatter.

- Rick