| Summary: | [qf] Create local variable quick fix produces invalid indentation | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | Sergey Prigogin <eclipse.sprigogin> |
| Component: | cdt-editor | Assignee: | Project Inbox <cdt-editor-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Anton Leherbauer <aleherb+eclipse> |
| Severity: | normal | ||
| Priority: | P3 | CC: | cdtdoug, kosashi, malaperle, yevshif |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | All | ||
| OS: | All | ||
| Whiteboard: | |||
duplicate of 333937 *** This bug has been marked as a duplicate of bug 333937 *** |
Set indentation size to 2. In the following code position the cursor on x and select Create local variable from the quick fix menu. void test() { x = 1; } The result has invalid indentation: void test() { int x; x = 1; } The preference for using tabs for indentation is also not respected.