Skip to main content



      Home
Home » Language IDEs » C / C++ IDE (CDT) » Tab width?
Tab width? [message #147426] Fri, 24 June 2005 07:54 Go to next message
Eclipse UserFriend
Originally posted by: pgodeau.sapex-alma.nospam.com

Hello,

My tab width preference in General / Editors / Text Editors is set to 2,
but tabs and automatic indentation are 4 spaces width.
Also there is no tab width preference in C++ editor, contrary to the
doc. CDT version is 3.0.
Is it a bug?

--
Patrick
Re: Tab width? [message #148304 is a reply to message #147426] Wed, 06 July 2005 16:39 Go to previous messageGo to next message
Eclipse UserFriend
Patrick Godeau wrote:
> Hello,
>
> My tab width preference in General / Editors / Text Editors is set to 2,
> but tabs and automatic indentation are 4 spaces width.
> Also there is no tab width preference in C++ editor, contrary to the
> doc. CDT version is 3.0.
> Is it a bug?
>

Hi Patrick,

I have filled a bug about this problem. See the bug 102936:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=102936

If you more info about this bug just add it to the bug report.

CDT 3.0 use the global setting for the tab in C++ editor (you can click
on the link at the top).

If you don't use replace 'tab by space' option you can display the tab
correctly in the editor after a fresh startup by changing the value to 7
for example and back to 2. The editor should display the tab correctly.

Regards,
Drix
Re: Tab width? [message #148318 is a reply to message #148304] Thu, 07 July 2005 02:51 Go to previous messageGo to next message
Eclipse UserFriend
Originally posted by: pgodeau.sapex-alma.nospam.com

drix a écrit :
> Patrick Godeau wrote:
>
>> My tab width preference in General / Editors / Text Editors is set to
>> 2, but tabs and automatic indentation are 4 spaces width.
>> Also there is no tab width preference in C++ editor, contrary to the
>> doc. CDT version is 3.0.
>
> I have filled a bug about this problem. See the bug 102936:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102936
>

Hi,
Thank you for the report. But I also filed the bug here:
https://bugs.eclipse.org/bugs/show_bug.cgi?id=102718
There is also a workaround in the comments.
Regards,

--
Patrick
Re: Tab width? [message #148410 is a reply to message #148318] Thu, 07 July 2005 20:55 Go to previous message
Eclipse UserFriend
Patrick Godeau wrote:
> drix a écrit :
>
>> Patrick Godeau wrote:
>>
>>> My tab width preference in General / Editors / Text Editors is set to
>>> 2, but tabs and automatic indentation are 4 spaces width.
>>> Also there is no tab width preference in C++ editor, contrary to the
>>> doc. CDT version is 3.0.
>>
>>
>> I have filled a bug about this problem. See the bug 102936:
>> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102936
>>
>
> Hi,
> Thank you for the report. But I also filed the bug here:
> https://bugs.eclipse.org/bugs/show_bug.cgi?id=102718
> There is also a workaround in the comments.
> Regards,
>

Thanks for the workaround! I have mark my bug report as duplicate, next
time I will try to do a better search before filling a bug report.

Regards,
Drix
Previous Topic:Visual C++ and CDT
Next Topic:CDT and subclipse issues
Goto Forum:
  


Current Time: Fri Jul 18 04:21:33 EDT 2025

Powered by FUDForum. Page generated in 0.37335 seconds
.:: Contact :: Home ::.

Powered by: FUDforum 3.0.2.
Copyright ©2001-2010 FUDforum Bulletin Board Software

Back to the top