In my last blogpost I talked about property generation and how the naming for the generated property seemed a bit strange. Luckily the guys from JetBrains (Ilya Ryzhenkov) read our blog 😉 and gave a comment.
So I acted on it and found what he was talking about. I always use the prefix with underscore and have camelcasing because I have NHibernate setup like that too. And it becomes a habit. So I just had to add the underscore to the namingstyle, like shown in the picture.
And then this
Private _color As String
Quickly turns into this.
Public Property Color() As String
Set (ByVal value As String)
_color = value
Isn’t that cool?