Bug 437980 - [preferences][typing] Cannot turn off automatic indent
Summary: [preferences][typing] Cannot turn off automatic indent
Status: CLOSED DUPLICATE of bug 85883
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 4.4   Edit
Hardware: All All
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2014-06-23 20:38 EDT by Scott Moore CLA
Modified: 2014-07-01 09:35 EDT (History)
1 user (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Scott Moore CLA 2014-06-23 20:38:46 EDT
After several months of trying, and searching online, I have been unable to turn off automatic indent in the editor.

I turned off "smart caret positioning". I turned off all templates. I tried several other solutions.

The IDE insists on positioning the cursor to the same indent as the line above after hitting return. I find this behavior objectionable. More often than not when writing code, I don't want the next line indented the same line as the last line. When inserting blocks, the first line ends up wrong, with the default indent.

I don't have any problem with others who like autoindent. I just want to turn it off please.

If I create a file using file->new->other, and create an "untitled text file" using the wizard, I get what I assume is the most plain type of edit window possible, ie., no language associated with it. Typing:

kdfjsf sdfsjdfkdsjf
   skfjsdkfjsdf
   
Note that the third line is auto-indented.

Thank you much for your attention. Eclipse is a great IDE, the price is right, and I have been using it quite a bit in the last few months.
Comment 1 Daniel Rolka CLA 2014-06-24 03:05:41 EDT
Maybe you use some source code formatter. Could you please verify it and update the bug with the proper comment?

Daniel
Comment 2 Scott Moore CLA 2014-06-24 13:30:29 EDT
(In reply to Daniel Rolka from comment #1)
> Maybe you use some source code formatter. Could you please verify it and
> update the bug with the proper comment?
> 
> Daniel

No, it was done as listed above.

The autoindent is a stuck on feature. It happens in everything, including the text editor, which has no formatting at all. 

Again, please read the example given.
Comment 3 Dani Megert CLA 2014-07-01 09:35:07 EDT

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