1 Replies Last post: Jan 24, 2013 2:41 PM by Alex Berezoutsky  
Corey Gerhardt Newbie 1 posts since
Jan 23, 2013
Currently Being Moderated

Jan 23, 2013 8:44 PM

Add/modify rule for capitalizing DB

It is possible to change the default rule for parameter and variable naming to enforce the B to be capitalized where a variable name ends with DB?

 

Example: testDB

 

By default, Resharper 7 wants the B to be small b.

Alex Berezoutsky JetBrains 449 posts since
Feb 18, 2011
Currently Being Moderated
Jan 24, 2013 2:41 PM in response to: Corey Gerhardt
Re: Add/modify rule for capitalizing DB

Hi Corey,

 

You may add 'DB' to the abbreviation list in the Code Editing → C# → C# Naming Style | Advanced Settings dialog.

 

Thanks.

More Like This

  • Retrieving data ...