Quantcast
Channel: YouTrackReSharper (RSRP) - Bug and Issue Tracker
Viewing all articles
Browse latest Browse all 106942

RSRP-469351: Add Option 'Prefer wrap after ":" for base class' to 'Arrangement of Type Parameters, Constraints and Base Types'

$
0
0
Reporter Alexander Jebens (ajebens) Alexander Jebens (ajebens)
Created Apr 20, 2018 12:46:47 PM
Updated Apr 20, 2018 12:46:47 PM
Subsystem No Subsystem
Assignee Unassigned
Priority Normal
State Submitted
Type Unspecified
Fix version No Fix versions
Affected versions No Affected versions
Fixed In Version ReSharper Undefined
VsVersion All Versions

In the current arrangement I like that inherited classes keep their base classes on the same line as the class name declaration:

class Derived : BaseClass
    I1,
    I2,
    I3

However, I and my colleagues dislike that with base classes with multiple interfaces we currently have

class BaseClass : I1,
    I2,
    I3

instead of

class BaseClass :
    I1,
    I2,
    I3

While there is an importance to displaying the base class first with derived classes, I feel this is misleading with base classes with multiple interfaces as I then falsely assume it to be a derived class when scan reading or it may put an undue emphasis on the first interface.


Viewing all articles
Browse latest Browse all 106942

Trending Articles



<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>