Community
Participate
Working Groups
Build Identifier: M20110909-1335 I've been trying to activate this option in Indigo for a week now. I did an update from 3.7.0 to 3.7.1 and it didn't resolve the problem. I tried to use spaces for tabs in CDT for C and in Java and the problem occurs in both editors. I found this exact problem in Helios too. Reproducible: Always Steps to Reproduce: 1. Go to Window->Preferences->General->Editors->Text Editors 2. Enable "Insert spaces for tabs" 3. Go to text editor and hit tab 4. (Optional) Enable "Show whitespace characters" to view better the tabs instead of spaces
> I tried to use spaces for tabs in CDT for C and in Java and the problem occurs > in both editors. They have their own settings. Not sure where it is in CDT but for the Java editor this is in the code formatter options.
(In reply to comment #1) > > I tried to use spaces for tabs in CDT for C and in Java and the problem occurs > > in both editors. > They have their own settings. Not sure where it is in CDT but for the Java > editor this is in the code formatter options. The base option should overlap the Formatter if you don't explicitly change it. Although i tried to change it in the Java > Formatter and it didn't made any effect as expected. CDT, as far as I know, don't has an explicit option to use spaces instead of tabs. It used the general one.
(In reply to comment #2) > (In reply to comment #1) > > > I tried to use spaces for tabs in CDT for C and in Java and the problem occurs > > > in both editors. > > They have their own settings. Not sure where it is in CDT but for the Java > > editor this is in the code formatter options. > > CDT, as far as I know, don't has an explicit option to use > spaces instead of tabs. It used the general one. Nope, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=350048#c2
(In reply to comment #3) > (In reply to comment #2) > > (In reply to comment #1) > > > > I tried to use spaces for tabs in CDT for C and in Java and the problem occurs > > > > in both editors. > > > They have their own settings. Not sure where it is in CDT but for the Java > > > editor this is in the code formatter options. > > > > CDT, as far as I know, don't has an explicit option to use > > spaces instead of tabs. It used the general one. > Nope, see https://bugs.eclipse.org/bugs/show_bug.cgi?id=350048#c2 Ok. Tanks for the quick reply