| Summary: | [quick assist][quick fix] The order of quick fix/quick assists is wrong sometimes | ||
|---|---|---|---|
| Product: | [Eclipse Project] JDT | Reporter: | Raksha Vasisht <raksha.vasisht> |
| Component: | UI | Assignee: | Markus Keller <markus.kell.r> |
| Status: | VERIFIED FIXED | QA Contact: | |
| Severity: | normal | ||
| Priority: | P3 | CC: | markus.kell.r |
| Version: | 3.7 | ||
| Target Milestone: | 3.7 M6 | ||
| Hardware: | PC | ||
| OS: | Windows XP | ||
| Whiteboard: | |||
|
Description
Raksha Vasisht
> Case 1 - (bug 332521 comment #10) > a) Add all missing tags > b) Assign parameter to new field > c) Add '@param' tag > [..] > ==> Shouldn't (c) come before (b) since it solves the problem and here since I > clicked on a param I could also be looking for (c) rather than (a)? I agree, fixed in JavadocTagsSubProcessor. > Test case 2: (from bug 334992 comment# 7) > ----------- > public class A { > int foo(){ > new StringBuffer(); > return 1; > } > } > > => I would expect that the 'Return the allocated Object' quick fix comes before > or after both the Assign quick assists. Fixed in QuickAssistProcessor#getAssignToVariableProposals(..). Verified for 3.6 M6 with I20110307-2110. |