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

RSRP-198663: Create enums from usage

$
0
0
Reporter Jura Gorohovsky (gorohoroh) Jura Gorohovsky (gorohoroh)
Created Nov 24, 2010 10:31:41 PM
Updated Jan 13, 2012 9:44:52 PM
Priority Normal
Type Feature
Fix versions No Fix versions
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem No subsystem
Affected versions No Affected versions
Fixed in build No Fixed in build
This one is pretty obvious but I didn't manage to find an existing request.

In cases like this:
e.EmployeeTypeProperty = EmployeeType.Contractor;

when EmployeeType and Contractor are not declared yet, ReSharper doesn't offer creating an enum on Alt+Enter at EmployeeType, but it really should provide a quick-fix like "Create enum "EmployeeType" and enum member "Contractor"

Viewing all articles
Browse latest Browse all 106942

Trending Articles