| Summary: | Format Source Code removes all blank lines except one. Need to have option to set number of blank lines to preserve. | ||
|---|---|---|---|
| Product: | [Tools] CDT | Reporter: | neotheone222 |
| Component: | cdt-refactoring | Assignee: | Project Inbox <cdt-refactoring-inbox> |
| Status: | CLOSED DUPLICATE | QA Contact: | Emanuel Graf <emanuel> |
| Severity: | normal | ||
| Priority: | P3 | CC: | aleherb+eclipse, cdtdoug, neotheone222 |
| Version: | 8.0 | ||
| Target Milestone: | --- | ||
| Hardware: | PC | ||
| OS: | Linux | ||
| Whiteboard: | |||
*** This bug has been marked as a duplicate of bug 249444 *** |
Build Identifier: M20100211-1343 Pressing Ctrl+Shift+F for format in CDT preserves only one blank line. Reproducible: Always Steps to Reproduce: 1. Suppose we have the following 3 functions each separated by 3 lines. void func1() { //body } void func2() { //body } void func3() { //body } 2. After using Ctrl+Shift+F, we get: void func1() { //body } void func2() { //body } void func3() { //body } 3. This feature is already present for Java IDE but not for C/C++ IDE.