Reporter | Yuri Astrakhan (yurik) |
---|---|
Created | Jun 28, 2011 12:56:25 AM |
Updated | Apr 13, 2018 5:59:48 PM |
Resolved | Apr 13, 2018 5:59:48 PM |
Subsystem | Quick Fixes - Create From Usage |
Assignee | Alisa Afonina (alisa.afonina) |
Priority | Normal |
State | Obsolete |
Type | Usability Problem |
Fix version | Backlog |
Affected versions | 6.0 EAP |
Fixed In Version ReSharper | Undefined |
VsVersion | All Versions |
Alt+Enter should select the most appropriate type depending on the name, not the first in the list. In the code below, if I alt+enter on
_blah
, the current selection should be set to "create field", not "create local variable". Same applies to the property-looking names.class Foo
{
public void Do()
{
_blah = 0;
blah = 1;
Blah = 1;
}
}