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

RSRP-287589: Provide "Initialize field from constructor(s) parameter" context action on ctor param context

$
0
0
Reporter Josh Buedel (jbuedel) Josh Buedel (jbuedel)
Created Jan 4, 2012 11:18:06 PM
Updated Jan 4, 2012 11:18:06 PM
Priority Normal
Type Feature
Fix versions No Fix versions
State Submitted
Assignee Alexey Kuptsov (alexey.kuptsov)
Subsystem Context actions
Affected versions 6.1
Fixed in build No Fixed in build
When my cursor is on the foo member I get the context action "Initialize field from constructor(s) parameter". I would like it if the same/similar context action appeared when the cursor is on the foo ctor parameter. The names match and the member is not otherwise initialized, so I think it makes sense.

  public class Test {
    private int foo;
    public Test(int foo) {}
  }

Viewing all articles
Browse latest Browse all 106942

Trending Articles



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