Feature request - Add to Interface

Hi

This is definitely a feature request :)

Would it be posssible to have an option on public properties/methods to Add to Interface where you can choose the interface - just like CodeRush. I've disabled CR since it doesn't seem to work too well with R# and it's something I miss quite a lot.

Again, not sure if a request or a bug report:

After typing the carriage return after value;

  public bool ShowThis
        {
            get { return _showThis; }
            set { _showThis = value;
            }
    }

I would expect the "{" after set to drop to a new line automatically so I would have

public bool ShowThis
        {
            get { return _showThis; }
            set
            {
                _showTis = value;
            }
        }



Again, there is a nice feature in CR which offers to put the get on one line:

public bool ShowThis
{
     get{
               return _showThis;
          }
}

would  go to

public bool ShowThis
{
     get{ return _showThis;}
}

Thanks
Jeremy
3 comments
Comment actions Permalink

Sorry - last example should have been

public bool ShowThis
{
     get
          {
               return _showThis;
          }
}


would  go to

public bool ShowThis
{
     get{ return _showThis;}
}

0
Comment actions Permalink

Hello Jeremy,

1. Could you please clarify your feature request? Does 'Pull Members Up'
refactoring satisfy your needs?
2. I've added a feature request http://youtrack.jetbrains.net/issue/RSRP-185144
3. If you have 'Place simple accessor on single line' option turned on under
ReSharper > Options > Languages > C# > Formatting Style > Line Breaks and
Wrapping, you can just run code cleanup on your file with 'Reformat code'
profile.

Thank you!

Andrey Serebryansky
Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Hi

This is definitely a feature request

Would it be posssible to have an option on public properties/methods
to Add to Interface where you can choose the interface - just like
CodeRush. I've disabled CR since it doesn't seem to work too well with
R# and it's something I miss quite a lot.

Again, not sure if a request or a bug report:

After typing the carriage return after value;

public bool ShowThis
{
get { return _showThis; }
set { _showThis = value;
}
}
I would expect the "{" after set to drop to a new line automatically
so I would have

public bool ShowThis
{
get { return _showThis; }
set
{
_showTis = value;
}
}
Again, there is a nice feature in CR which offers to put the get on
one line:

public bool ShowThis
{
get{
return _showThis;
}
}
would  go to

public bool ShowThis
{
get{ return _showThis;}
}
Thanks
Jeremy
---
Original message URL:
http://devnet.jetbrains.net/message/5266884#5266884



0
Comment actions Permalink

Hi Andrey,

Ahah! So that's what Pull Members Up does!!

Boy - there's so much in Resharper - I thought I knew it pretty well - obviously not :)

Other things - thanks, all noted

Regards
Jeremy

0

Please sign in to leave a comment.