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

RSRP-273372: Auto-determine the type of missing variable by its name

$
0
0
Reporter Yuri Astrakhan (yurik) 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;
}
}

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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