Hi Eran,
I have tabs set to 3 (default was 4) and I have spaces for tabs.
I used 'Source Code Format' and have NOT checked indent using
tab characters. Everything works fine except that the number of
spaces for tab is always 4 and not what you set in Editor settings.
Am I missing something or is it a bug?
Please let me know and as always, thanks for your support and prompt
replies.
Regards,
Rajah
CL 2128, Win XP SP2, Distributable
Format Source Code Tab spaces
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Mon Aug 25, 2008 10:41 pm
- Contact:
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Format Source Code Tab spaces
I just noticed that the same option exist in 2 places...rajah wrote:I have tabs set to 3 (default was 4) and I have spaces for tabs.
I used 'Source Code Format' and have NOT checked indent using
tab characters. Everything works fine except that the number of
spaces for tab is always 4 and not what you set in Editor settings.
Am I missing something or is it a bug?
There is 'Settings -> Editor -> genera' use Tab for indentation checkbox
and there is also 'plugins -> Source code formatter -> Options -> Custom tab' "Indent using tab character"
First of all, one of them should be removed (I think I will remove the one from the plugin menu).
Next, I noticed a bug in the formatter plugin -> it does not respect the tab size set in 'Settings -> Editor' but it rather hardcode it to be 4 - this will be fixed. Please open a bug for this one.
Eran
Make sure you have read the HOW TO POST thread
-
- CodeLite Enthusiast
- Posts: 30
- Joined: Mon Aug 25, 2008 10:41 pm
- Contact:
Re: Format Source Code Tab spaces
Okay, I will do so,eranif wrote:I just noticed that the same option exist in 2 places...rajah wrote:I have tabs set to 3 (default was 4) and I have spaces for tabs.
I used 'Source Code Format' and have NOT checked indent using
tab characters. Everything works fine except that the number of
spaces for tab is always 4 and not what you set in Editor settings.
Am I missing something or is it a bug?
There is 'Settings -> Editor -> genera' use Tab for indentation checkbox
and there is also 'plugins -> Source code formatter -> Options -> Custom tab' "Indent using tab character"
First of all, one of them should be removed (I think I will remove the one from the plugin menu).
Next, I noticed a bug in the formatter plugin -> it does not respect the tab size set in 'Settings -> Editor' but it rather hardcode it to be 4 - this will be fixed. Please open a bug for this one.
Eran
Thanks,
Rajah
- eranif
- CodeLite Plugin
- Posts: 6375
- Joined: Wed Feb 06, 2008 9:29 pm
- Genuine User: Yes
- IDE Question: C++
- Contact:
Re: Format Source Code Tab spaces
No need, already fixed it in SVN trunkrajah wrote:Okay, I will do so,
Eran
Make sure you have read the HOW TO POST thread