From: Joachim B. <jba...@pi...> - 2005-02-01 09:33:48
|
Hi, I searched in the old mails and found the following: (written by Hiroo) > The problem is the default "Displayed Tab Width" > (Preferences->Java->Editor) is set to 4. This is bad choice. Most > tools (ex. cat on console, CVS browser on JSynthLib=20 > SourceForge site, ....) > assumes "Displayed Tab Width" is 8. I see indentation of some code is > broken in JSynthLib. This default value may be one of the reason. I don't think the setting of the "Displayed tab width" to 8 is a good = solution for that, as it just moves the layout issues to another place. Best in my opinion would be the using of blank spaces for tabs reset "Displayed Tab Width" to 4. Regardless of that: The "Displayed tab width" problem should be included in the "Programming.html" documentation. Regards, Joachim Backhaus > -----Urspr=FCngliche Nachricht----- > Von: Joachim Backhaus=20 > Gesendet: Dienstag, 1. Februar 2005 10:21 > An: jsy...@li... > Betreff: Eclipse: Indentation / Displayed tab width >=20 >=20 > Hi, >=20 > I've started a discussion with Hiroo concerning > the indentation and displayed tab width. >=20 > In the "programming.html" the following can > be found: >=20 > "1. Preferences->Java->Editor->Displayed tab width must be=20 > set to '8'. " >=20 > This seems to be the issue. >=20 > Can anybody explain why the "Displayed tab width" should be set to 8 > when indentation level should be set to 4? >=20 > I know that in most tools you can set up both differently but > it usually doesn't make sense. >=20 > In this case it leads to the point that there are two kinds=20 > of JSynthLib > developers: > A The one who use Eclipse with the setting above > B Those who use an editor with the recommended indentation &=20 > displayed tab width > setting of 4 (may also be Eclipse in my case). >=20 > Of course, the code of Group B developers looks strange for Group A > and vice versa. >=20 > And this leads to the discussion we have now here. >=20 > Regards, > Joachim Backhaus >=20 |