Summary: | [formatter] Handle Formating of method parameter @annotations separately | ||
---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Nick Chalko <nchalko> |
Component: | Core | Assignee: | Eric Jodet <eric_jodet> |
Status: | VERIFIED DUPLICATE | QA Contact: | |
Severity: | minor | ||
Priority: | P3 | CC: | andreas, brockj, eric_jodet, jerome_lanneluc, josh, konigsberg |
Version: | 3.3 | ||
Target Milestone: | 3.4 M5 | ||
Hardware: | PC | ||
OS: | Linux | ||
Whiteboard: |
Description
Nick Chalko
2007-10-24 12:48:13 EDT
see also bug 207809 *** Bug 213080 has been marked as a duplicate of this bug. *** *** Bug 215190 has been marked as a duplicate of this bug. *** I am willing to supply a patch for this one, but i am not sure which options need to be supplied. I can see a few usecases: 1. don't do any newlines just use normal parameter wrapping rules) 2. put each annotation and parameter on a new line (including first annotation) 3. variation on case 2, but not for parameters with a single annotation Are there others that need to be taken into consideration? Perhaps these options will be enough: 1. before first parameter annotation 2. after last parameter annotation 3. after parameter annotation 4. keep parameters with one annotation on same line Fix for bug 122247 should provide 3 new options to better handle the addition of new lines after annotations and differentiate annotations on: - members (field, method, type) - parameters - local variable *** This bug has been marked as a duplicate of bug 122247 *** Verified for 3.4M5 using I20080205-0010 |