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

Bug 320211

Summary: Disabling "Automatically indent" does not disable automatic indenting.
Product: [Tools] CDT Reporter: eclipse
Component: cdt-editorAssignee: Project Inbox <cdt-editor-inbox>
Status: CLOSED DUPLICATE QA Contact: Anton Leherbauer <aleherb+eclipse>
Severity: normal    
Priority: P3    
Version: 7.0   
Target Milestone: ---   
Hardware: PC   
OS: Windows XP   
Whiteboard:

Description eclipse CLA 2010-07-19 01:24:59 EDT
Build Identifier: 20100617-1415

Even with C/C++>Editor>Typing>"Automatically indent" disabled, eclipse continues to automatically indent newlines.


Reproducible: Always

Steps to Reproduce:
Ensure C/C++>Editor>Typing>"Automatically indent" is unchecked.

Fill a buffer with the following function:

void foo()
{
	if (true)
	{
	}
}

Position the cursor after the second { and press enter.

Eclipse will automatically indent the newline with one tab even though the the "Automatically indent" option was specifically disabled.
Comment 1 Anton Leherbauer CLA 2010-07-19 10:11:23 EDT

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