Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.

Bug 107373

Summary: [preferences] Show more details on Typing > Tabulators preference page
Product: [Eclipse Project] JDT Reporter: Kit Lo <kitlo>
Component: TextAssignee: Dani Megert <daniel_megert>
Status: CLOSED FIXED QA Contact:
Severity: normal    
Priority: P3 CC: camle, Karice_McIntyre, mtveety, steven.wasleski, Tod_Creasey
Version: 3.1   
Target Milestone: 3.2 RC2   
Hardware: PC   
OS: Linux-GTK   
Whiteboard:
Attachments:
Description Flags
screen capture none

Description Kit Lo CLA 2005-08-18 16:21:07 EDT
OS : RHEL 3.1 
not a must fix 
Severity ( 1 thru 4, 1 as most severe): 3 
Build date: 0802 
Blocking: Yes 
Language: JPN, ENG 
Bitmap Location: Z:\defects\JPN\Base_09002400_JPN.gif 
Tester Name: Hiroshi Inoue 

Problem Description: 
"Mixed" is not shown on Typing preference page. 

Steps: 
1. From menu bar, select Window -> Preference. 
2. Select Java -> Editor -> Typing. 
3. On the Tabulatiors field, we can see description "The current indentation 
size is 4, using tabs." Please see attached screen capture. 
4. Click the "formatter prefernece page." link at the field. Or select Java -> 
Code Style -> Formatter. 
5. Click "Show..." button. 
6. On the General settings field, drop down the "Tab policy" menu and 
select "Mixed". 
7. Click Apply. 
8. "Rename Profile" dialog appears. Type in anything and click OK. 
9. Go back to the Typing preferece page. The description is not changed. 
When we choice "Spaces only" or "Tanb only" on the Formatter prefarence page, 
the change is appeared on the Typing page.
Comment 1 Kit Lo CLA 2005-08-18 16:21:35 EDT
Created attachment 26269 [details]
screen capture
Comment 2 Dirk Baeumer CLA 2005-08-19 04:04:53 EDT
Moving to JDT/Text.
Comment 3 Dani Megert CLA 2005-08-19 04:46:05 EDT
Not a bug and not related to translation: the displayed value i.e. "using tabs"
in case of the mixed formatter preference is OK because in fact a Tab will be
inserted: the "Mixed" formatter preference only applies if the box above is
checked and only if the Tab key is pressed in front of a line. If the Tab key is
pressed after some text then it will insert a Tab.

We should clarify this in the future.
Comment 4 Dani Megert CLA 2006-04-07 05:34:49 EDT
Note that currently the updating is not working due to bug 135500. After changing the formatter preference it is necessary to click 'OK' and then reopen the preference dialog in order to see the updated value on the typing preference page.

With latest work for mixed tabs the displayed value can even be wrong.
Comment 5 Dani Megert CLA 2006-04-26 08:39:03 EDT
Fixed in HEAD.
Available in builds > N20060426-0010.
Comment 6 Johannes Rieken CLA 2006-05-10 12:01:35 EDT
verified that values are updated and correct message is displayed
Comment 7 Kit Lo CLA 2006-11-16 11:19:26 EST
closing verified bug