History | Log In     View a printable version of the current page.  
Issue Details (XML | Word | Printable)

Key: IDEADEV-13530
Type: New Feature New Feature
Status: Open Open
Priority: Normal Normal
Assignee: Maxim Shafirov
Reporter: Chris Hagmann
Votes: 0
Watchers: 1
Operations

If you were logged in you would be able to see more operations.
IDEA: Development

Reformatting doesn't order @param tags according to method signature

Created: 21 Jan 07 03:39   Updated: 22 Jan 07 14:17
Component/s: Code Formatting and Code Style
Fix Version/s: None

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Environment: Windows XP SP2, JDK 1.6

Build: 6,148
Severity: Medium


 Description  « Hide
Let's assume there is a method with the following javadoc comment:
/**
 * Does something.
 * 
 * @param y Parameter Y.
 * @param x Parameter X.
 */
void foobar(String x, String y);

In this case, the order of parameters doesn't match the signature of the method. Initiating a code reformat (CTRL+ALT+L) doesn't reorder the @param tags as it would be expected.

This issue starts to occur frequently since the introduction of a javadoc quickfix in Intellij. The quickfix appends new @param tags to end of the javadoc comment rather than the correct position.



 All   Comments   Work Log   Change History      Sort Order:
There are no comments yet on this issue.