Some Eclipse Foundation services are deprecated, or will be soon. Please ensure you've read this important communication.
Bug 320211 - Disabling "Automatically indent" does not disable automatic indenting.
Summary: Disabling "Automatically indent" does not disable automatic indenting.
Status: CLOSED DUPLICATE of bug 244445
Alias: None
Product: CDT
Classification: Tools
Component: cdt-editor (show other bugs)
Version: 7.0   Edit
Hardware: PC Windows XP
: P3 normal (vote)
Target Milestone: ---   Edit
Assignee: Project Inbox CLA
QA Contact: Anton Leherbauer CLA
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-07-19 01:24 EDT by eclipse CLA
Modified: 2010-07-19 10:11 EDT (History)
0 users

See Also:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 ***