Community
Participate
Working Groups
Need the possibility to customize the indenting size to something different from the default 4 positions and being able to choose tabs or spaces. Thanks.
*** Bug 41677 has been marked as a duplicate of this bug. ***
*** Bug 49293 has been marked as a duplicate of this bug. ***
*** Bug 51392 has been marked as a duplicate of this bug. ***
Added support for the displayed tab width and for inserting spaces for tabs when typing. The formatter (bug 52076 and bug 40255) will handle the rest. Changes to AntEditorSourceViewerConfiguration, AntEditor, AntEditorPreferenceConstants, AntEditorPreferencePage and AntPreferencesMessages.
Please verify Luc.
'insert spaces for tabs when typing' doesn't work well when the file already contains tabs. If you have a line with 4 tabs, and the option 'insert spaces for tabs when typing' set. Typing a tab will add 3 spaces after the first tab, 2 spaces after the second tab, 1 space after the third tab, 4 spaces after the fourth tab. I think that in this case, 4 spaces should be always added. I think the problem is that you should compute the number of spaces you have to add from the previous tab.
More in M9
Luc I cannot reproduce your problem. Can you please verify that this works or if I am mis-interpreting the test case?
Please verify.
Verified. Please update the build notes, Darin S.
Thanks. Build notes updated.