Bug 85883 - [typing][preference] Please add option to disable auto-indent...?
Summary: [typing][preference] Please add option to disable auto-indent...?
Status: ASSIGNED
Alias: None
Product: Platform
Classification: Eclipse Project
Component: Text (show other bugs)
Version: 3.1   Edit
Hardware: PC Windows XP
: P5 enhancement with 6 votes (vote)
Target Milestone: ---   Edit
Assignee: Platform-Text-Inbox CLA
QA Contact:
URL:
Whiteboard:
Keywords: helpwanted
: 115274 119690 361685 437980 (view as bug list)
Depends on:
Blocks:
 
Reported: 2005-02-18 18:29 EST by Alex Lorbeer CLA
Modified: 2019-12-28 20:52 EST (History)
8 users (show)

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Alex Lorbeer CLA 2005-02-18 18:29:08 EST
Could you *please* add an option to disable auto-indent?
Comment 1 Tom Hofmann CLA 2005-05-31 10:09:59 EDT
Note that you can disable any auto-indentation but the standard one (which
simply copies the indent of the original line) using Edit>Smart Insert Mode.
Comment 2 Steve Kuo CLA 2005-08-10 12:39:13 EDT
This really should be configurable.
Comment 3 Dani Megert CLA 2005-11-08 09:50:24 EST
*** Bug 115274 has been marked as a duplicate of this bug. ***
Comment 4 Dani Megert CLA 2005-12-08 05:16:31 EST
*** Bug 119690 has been marked as a duplicate of this bug. ***
Comment 5 Matt Zimmer CLA 2005-12-08 12:02:31 EST
I agree this should be configurable.

In addition please add a configuration option to remove white space from an automatically indented line if it is empty (I entered this request in 119690 which was marked duplicate of this one).

Thank you.
Comment 6 Steve Kuo CLA 2006-07-18 17:54:54 EDT
Is there any progress on this? It's been open for over a year. An editor's auto formatting should be configurable.
Comment 7 Jason CLA 2007-09-07 16:42:08 EDT
2 years and 3 months later and still no feature to disable auto-indentation.
Still no feature to not save indentation from blank lines.

Why is it there are no editors out there that give full control to the programmer.

It's such a simple option to ask for and should've been there all along.
Comment 8 John Welch CLA 2007-09-07 16:49:24 EDT
Over two years on and still no sight of a simple feature update?

This is a very annoying problem with Eclipse and I hope this feature will be included soon.
Comment 9 Dani Megert CLA 2007-09-10 03:07:17 EDT
Sorry we won't work on this but feel free to provide a high quality patch.
Comment 10 Dani Megert CLA 2011-10-24 04:35:14 EDT
*** Bug 361685 has been marked as a duplicate of this bug. ***
Comment 11 Jean-Marc N/A CLA 2013-04-23 04:32:30 EDT
(In reply to comment #1)
> Note that you can disable any auto-indentation but the standard one (which
> simply copies the indent of the original line) using Edit>Smart Insert Mode.

So when "Smart Insert Mode" is disabled an auto-indent should be added after an opened bracket ?

I write :
class my_class
{|

Enter was pressed :
class my_class
{
----|

A new line and tab character were inserted. Note that it's in a PHP file so the issue is probably related to PDT.
Comment 12 Dani Megert CLA 2014-07-01 09:35:07 EDT
*** Bug 437980 has been marked as a duplicate of this bug. ***
Comment 13 Mohi Montazer CLA 2019-12-28 20:52:49 EST
Any chance to add an option to disable copying the indent of the original line to the new line after pressing Enter key?
The current config is very annoying and I need to remove the indentation any time I need to add a new empty line in my code :(