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

Key: RSRP-57385
Type: Bug Bug
Status: Open Open
Priority: Major Major
Assignee: Ilya Ryzhenkov
Reporter: Ilya Ryzhenkov
Votes: 0
Watchers: 1
Operations

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

Re: [548] Backing Field Naming

Created: 05 Feb 08 19:41   Updated: 06 Feb 08 18:35
Component/s: Refactorings - Rename
Fix Version/s: 4.0

Original Estimate: Unknown Remaining Estimate: Unknown Time Spent: Unknown

Build: 548
Old URL: news://news.intellij.net/9288251.1202224780898.JavaMail.itn@is.intellij.net


 Description  « Hide
This issue has been created from an NNTP article.

Hi Ilya

Given:

private string _foo;
public string Foo
{
get { return _foo; }
}

Hit rename on Foo (line 2), change to FooBar, click next to 'Rename Related Symbols' which offers to rename '_foo' to '_FooBar'. (By the way, it would be great to be able to F2 at this point an go straight into editing the new related symbol name.) This leaves:

private string _FooBar;
public string FooBar
{
get { return _FooBar; }
}

Then if I rename on '_FooBar' the dialog offers the (correct) name of '_fooBar'.

Cheers

Sean



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