2 Replies Last post: Jan 15, 2013 1:17 PM by Aleksey Kushnir  
Aleksey Kushnir Newbie 3 posts since
Jan 14, 2013
Currently Being Moderated

Jan 14, 2013 5:39 PM

How to create a Naming Style ???

Hi,

I got a projet to check if Resharper is good enouth to be used by our company, and i got a little problem configuring to our company varible naming rules

 

I need to create a naming style that based on the varible type:

for an example

 

Dim test AS String >>> need to be converted to >>> Dim sTest String

To uppercase the first letter of the varible and add a first letter of the type for a prefix...

 

All i managed to do till now is to add a static letters and resharper underscores the line if its not stands in the properties,

but allways uses the default (first property) even if its not match the varible type

Example

 

Dim test AS String >>> sugested convert to >>> Dim iTest String because iUpperCamelCase is the first (default) property.

 

I tryed to serch thru the forum to find an answer, but without  any success,

can someone help me with this please ?

Alex Berezoutsky JetBrains 456 posts since
Feb 18, 2011
Currently Being Moderated
Jan 15, 2013 1:07 PM in response to: Aleksey Kushnir
Re: How to create a Naming Style ???

Aleksey,

 

We've answered you in your 2nd topic here: http://devnet.jetbrains.net/message/5476267.

 

Thanks.

More Like This

  • Retrieving data ...