Generate constructor using <Alt><Insert> = public constructor
Hello
When I hit ]]> on an empty class and choose generate a constructor
ReSharper will generate a public constructor. It would be great if we could
choose the visibility of the constructor instead of autogenerating a
"public" one.
I am using nightly build 912.
Cheers
Gabriel Lozano-Moran
Please sign in to leave a comment.
I just noticed that when I generate a constructor for a class with 5 fields
that I no longer get to see the dialog where you can choose which fields to
initialize in the constructor so my guess is that something is broken in
build 912 or that this has become an option that I can't seem to find?
Cheers
Gabriel Lozano-Moran
Hello Gabriel Lozano-Moran,
I have same build and generating constructor from fields works as expected.
May be you have static fields, not instance?
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
G> I just noticed that when I generate a constructor for a class with 5
G> fields that I no longer get to see the dialog where you can choose
G> which fields to initialize in the constructor so my guess is that
G> something is broken in build 912 or that this has become an option
G> that I can't seem to find?
G>
G> Cheers
G>
G> Gabriel Lozano-Moran
G>
Hello,
We appreciate your feedback. The corresponding JIRA request has been created,
and you are welcome to monitor its status at http://www.jetbrains.net/jira/browse/RSRP-76043.
You may want to check our request tracking policy here: http://www.jetbrains.net/confluence/display/ReSharper/ReSharperIssueTracker
Best regards,
- Development Team.