Summary: | Formatter - should ensure one empty line before a method declaration (1GHOJWD) | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Philipe Mulet <philippe_mulet> |
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> |
Status: | VERIFIED FIXED | QA Contact: | |
Severity: | normal | ||
Priority: | P3 | CC: | preuss, xmehaut |
Version: | 2.0 | ||
Target Milestone: | 3.0 M4 | ||
Hardware: | All | ||
OS: | Windows NT | ||
Whiteboard: |
Description
Philipe Mulet
2001-10-10 22:53:17 EDT
The formatter doesn't know what a method declaration is. It works only on tokens. In order to solve this problem, that implies that the code formatter knows when it reached a method declaration (a method header) or when it closes the last brace of a method declaration. PRODUCT VERSION: 0.9 Defer Resurrecting formatter issues in 2.1 stream. Clearing resolution *** Bug 12004 has been marked as a duplicate of this bug. *** We need to clear 2.1 bug reports that won't be addressed before 2.1. The new implementation is still in the works. Therefore we cannot include it for 2.1. Not enough testing and we need to polish the preferences. This will be address for 2.2 as stated in the JDT/Core plan. Resurrecting for 3.0 Reopen for 3.0 consideration. This is addressed in the new formatter. Fixed and released in HEAD. Regression test added. Verified. |