Summary: | Code Formatter fails with Method Parameter Annotations | ||||||||
---|---|---|---|---|---|---|---|---|---|
Product: | [Eclipse Project] JDT | Reporter: | Geoffrey Wiseman <geoffrey.wiseman> | ||||||
Component: | Core | Assignee: | Olivier Thomann <Olivier_Thomann> | ||||||
Status: | VERIFIED FIXED | QA Contact: | |||||||
Severity: | normal | ||||||||
Priority: | P3 | ||||||||
Version: | 3.1 | ||||||||
Target Milestone: | 3.1 M7 | ||||||||
Hardware: | PC | ||||||||
OS: | Windows XP | ||||||||
Whiteboard: | |||||||||
Attachments: |
|
Description
Geoffrey Wiseman
2005-05-04 17:43:55 EDT
moving to core Now we would format like this: public class Test { public Object passthrough(@DroolsParameter("parameter") Object parameter ) { return parameter; } } The default option is to add a new line after an annotation. Created attachment 21001 [details]
Apply on HEAD on CodeFormatterVisitor
Created attachment 21002 [details]
Apply on HEAD on org.eclipse.jdt.core.tests.model
Corresponding regression test
Fixed and released in HEAD. Regression test added in org.eclipse.jdt.core.tests.formatter.FormatterRegressionTests.test575. Verified in N200505120010 |