Strange Property generation in VB Follow
I wnat to generate properties for some of my private members. The member variables are declared as follows:
Dim mVersionsNr As Integer
Dim mVersionTyp as Integer
...
I expect that R# generates following code (like in C#):
Public Property VersionsNr() As Integer
...
End Property
But R# generates:
Public Property MVersionsNrProperty() As Integer
...
End Property
I remember there where a setting in the options dialog in former R# versions to control the behavior but i can't find it anymore. Did anyone know how i can change the naming behavior?
I'm using R# 4.5 build 1275.
Regards
Klaus
Please sign in to leave a comment.
Hello,
See "Naming Style" pages in R# options.
Options / Languages / Common / Naming Style is for the common settings, and
Options / Languages / C# / C# Naming Style, Options / Languages / Visual
Basic .NET / VB Naming Style are language specific.
—
Serge Baltic
JetBrains, Inc — http://www.jetbrains.com
“Develop with pleasure!”
i controlled the settings and see my mistake. I leaved the pattern for private instance fields at the default value (_lowerCamelCase) and named my private fields by the pattern "mUpperCamelCase". This happens if you work on a notebook and on a desktop and don't syncronize the R# settings
Thanks for the hint
Klaus