Creating Properties
Hello,
Was wondering if there is a way to encapsulate all selected fields in a class, There was a tool called vsPropertyGenerator that would accomplish that for you a while back, it would be a great addin
thanks
Please sign in to leave a comment.
"pr1smiley" <dana.johnson@dynamicpresence.com> schrieb im Newsbeitrag
news:24987239.90821215454107617.JavaMail.jive@app4.labs.intellij.net...
ALT+Ins
Regards
Albert
excellent!
Thanks
Is there a way to customize the output format of the Properties Generation? For instance, if you don't want "Property" appended to each property name.
Hello ironsam,
You didn't say you are working with VB.NET, but I think this is the case.
ReSharper have to add "Property" to the name for VB.NET since the language
is case-insensitive and property cannot be named the same as field but capitalized,
like in C#. But if you have prefix for the field, like underscore, you should
tell ReSharper that it is not part of the name, but rather field designator.
Open ReSharper options, and set your naming conventions under Languages /
Common / Naming Style.
Sincerely,
Ilya Ryzhenkov
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"
i> Is there a way to customize the output format of the Properties
i> Generation? For instance, if you don't want "Property" appended to
i> each property name.
i>
Thanks Ilya - that's what I was looking for.