Project
ReSharper
Priority
Normal
Type
Feature
Fix versions
Mirabile Futurum
State
Open
Assignee
Ilya Ryzhenkov
Subsystem
Code Cleanup
Affected versions
No Affected versions
Fixed in build
No Fixed in build
  • Created by   Valentin Kipiatkov
    5 years ago (05 Aug 2006 01:18)
  • Updated by   Vladimir Reshetnikov
    19 months ago (14 Oct 2010 11:56)
  • Jira: RSRP-4713
    (history, comments)
 
RSRP-4713 Code formatter options: missing options for blank lines in properties
0
Issue is visible to: All Users
  The issue is visible to the selected user group only
User wrote:

> Can it to be added to strongly formatting rules (option - 
> always obey)?
> 
> /*
> public int SampleProperty
> {
>   get {return _sampleProperty;}
> 
>   set
>   {
>     // Compound block.
>     _sampleProperty = value;
>   }
> }
> 
> public int SampleProperty
> {
>   get
>   {
>     // Compound block.
>     return _sampleProperty;
>   }
> 
>   set {_sampleProperty = value;}
> }
> 
> public int SampleProperty
> {
>   get {return _sampleProperty;}
>   set {_sampleProperty = value;}
> }
> */


[*] Look at the line break between get and set blocks when one of it
is compound. And there is no line break when both of it is simple!
Comments (0)
 
History
 
Linked Issues (?)
 
TeamCity Changes (0)
 
Issue has no comments