Project
ReSharper
Priority
Normal
Type
Feature
Fix versions
Mirabile Futurum
State
Won't fix
Assignee
Ilya Ryzhenkov
Subsystem
File structure
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Paul Bludov
    5 years ago (05 Aug 2006 14:24)
  • Updated by   Hans Christian Falkenberg
    18 months ago (26 Nov 2010 13:04)
  • Jira: RSRP-7846
    (history, comments)
 
RSRP-7846 Ability to sort File Structure elements
7
Issue is visible to: All Users
  The issue is visible to the selected user group only
It would be nice to have an ability to sort methods (fields/properties) inside of a region by name.
Comments (7)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Hans Christian Falkenberg
  Hans Christian Falkenberg
16 Jan 2009 17:00
3 years ago
Also, instead of sorting only within regions, I would like an option to ignore regions and sort all members of a class (preferably/optionally grouped by element type, though - e.g. like StyleCop's SA1201: fields, constructors, finalizers, delegates, events, enums, interfaces, properties, indexers, methods, structs, classes).
Stefan
  Stefan
25 Nov 2010 17:30
18 months ago
See also RSRP-198710.
Jura Gorohovsky
  Jura Gorohovsky
25 Nov 2010 21:01
18 months ago
@Stefan If I understand your request correctly, you want File Structure to give you a "preview" of your current type member layout settings. If this is correct, there's a clean contradiction between your request and the function of File Structure, which is to represent the actual order and hierarchy of file items.
Stefan
  Stefan
25 Nov 2010 21:07
18 months ago
@Jura: Correct. That was somewhat the intent with the "or an extra window" statement in RSRP-198710 (and that's why I created created an extra RSRP in the first place since I figured this one was to reorder the actual items in the file).
Jura Gorohovsky
  Jura Gorohovsky
25 Nov 2010 21:58
18 months ago
@Stefan, OK, let's proceed with the discussion in RSRP-198710 then.
Jura Gorohovsky
  Jura Gorohovsky
25 Nov 2010 22:00
18 months ago
Reg. the original request, member reordering can be accomplished by configuring ReSharper > Options > Languages > C# > Type Members Layout, and running Code Cleanup with the "Reorder type members" option set.
We're not convinced that this functionality should be included in the File Structure tool window for the reasons stated above.
Related Changes
Resolved Date
18 months ago (25 Nov 2010 22:01)
State
OpenWon't fix
Hans Christian Falkenberg
  Hans Christian Falkenberg
26 Nov 2010 13:04
18 months ago
Ok, the request was misstated with respect to the intented functionality of the File Structure window, I'll comment on RSRP-198710