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

Key: RSRP-64796
Type: Bug Bug
Status: Open Open
Priority: Blocker Blocker
Assignee: Ilya Ryzhenkov
Reporter: Corey Kosak
Votes: 0
Watchers: 0
Operations

If you were logged in you would be able to see more operations.
ReSharper

Generate Constructor is buggy in two ways: it always sorts alphabetically, and select all does not work

Created: 14 Apr 08 07:17   Updated: 08 May 08 17:03
Component/s: Generate Action
Fix Version/s: 4.0
Security Level: Everybody (All jira users)

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown
Issue Links:
Duplicate
 
This issue is duplicated by:
RSRP-63819 Generate constructor always sorts the... Normal Closed
RSRP-61708 Sorting of Parameters in Generated Co... Critical Closed
RSRP-62771 Constructor arguments are sorted alph... Critical Closed

Build: 775


 Description  « Hide
In the code below, I do alt-insert and then generate constructor. In the dialog that comes up, the first problem I notice is that the "Select All" button does not work. Next, I notice that in this same dialog, my fields have been sorted alphabetically. This means that there is no way, on this dialog or the next (after I press the continue button) to use my fields in declaration order. I am forced to generate a constructor with fields sorted alphabetically. (The "sort alphabetically" checkbox on the next page--checked or unchecked--does not help)
namespace ConsoleApplication5 {
  public class Cow {
    private readonly int z;
    private readonly int y;
    private readonly int x;

    //do "generate constructor" here
  }
}


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