Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 37961 - [preferences] Default Editor should have preference for tab information
Summary: [preferences] Default Editor should have preference for tab information
Status: RESOLVED DUPLICATE of bug 82296
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 2.1   Edit
Hardware: All All
: P3 enhancement with 3 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
: 49332 (view as bug list)
Depends on:
Blocks:
 
Reported: 2003-05-22 06:53 EDT by Geoff Longman CLA
Modified: 2005-10-11 08:56 EDT (History)
2 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Geoff Longman CLA 2003-05-22 06:53:51 EDT
TextEditor should be able to handle using tabs characters or spaces when a user 
presses the tab key.

The following preferences should be added:

Checkbox: Insert tabs for indentation
Text Field: Number of spaces representing an indentation level

Reasoning:

Lots of plugins extend Text Editor and have to build thier own handling in this 
case. As well if a plugin chooses to make this feature 'preferencable', they 
have to implement thier own preference page. 

If this feature request is accepted and implemented well, all subclasses of 
TextEditor can take or override the preferences in the TextEditors plugin. That 
way its more like the Fonts preference page. Change it in one place and the 
change can take effect everywhere.

Geoff
Comment 1 Dani Megert CLA 2004-05-07 06:37:04 EDT
tab size can now be configured
Comment 2 Geoff Longman CLA 2004-05-07 09:45:34 EDT
Is there a pointer to where I can look at the change?

thx.
Comment 3 Dani Megert CLA 2004-05-07 10:07:12 EDT
sure. use latest build.
Preferences > Workbench > Editors > Text Editor: Displayed tab width
Comment 4 Vahur Sinijärv CLA 2004-05-22 07:43:58 EDT
Displayed tab width is not enough, user should be able to set "convert tabs to 
spaces" too in default text editor. We never use tabs in any text file, it is 
very annoying not to be able to set such behaviour. Workaround is to use 3-rd 
party editor plugin for other files than Java and ant build scripts. Eclipse 
colorer is what we use ...
Comment 5 Dani Megert CLA 2004-05-24 03:39:42 EDT
that's why this PR isn't closed yet ;-)
Comment 6 Dani Megert CLA 2004-12-01 13:33:07 EST
>Text Field: Number of spaces representing an indentation level
This has been added for text editor a while ago and since I200411300800 it's now
available as shared/global preference
Comment 7 Tom Hofmann CLA 2004-12-14 06:25:37 EST
*** Bug 49332 has been marked as a duplicate of this bug. ***
Comment 8 Dani Megert CLA 2005-10-11 08:56:14 EDT
Remaining issue is covered in bug 82296.

*** This bug has been marked as a duplicate of 82296 ***