Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

ReSharper Abbreviations List: Where can I modify it?

Tags:

resharper

I am using ReSharper 4.5, and what often happens when I am converting explicit properties into auto-properties, is that I will accidentally chose "Add XX to abbreviations list".

Ie: I want to convert CustomerID into an autoproperty, but due to quick butterfingers, I will accidentally add "ID" to the abbreviations list instead, which I don't want to do. (I want the naming rules to use "Id" instead of "ID").

Where can I find and modify the list of custom abbreviations in ReSharper 4.5??

like image 946
Alex Czarto Avatar asked Apr 20 '09 20:04

Alex Czarto


4 Answers

In Resharper 5. see answer below.

-In Resharper 4 use Resharper/Options/Languages/Common/Naming Style Choose the radio "Override common settings" this enables the button "Manage Abbreviations"

For a specific language

  • Resharper/Options/Languages/C#/C# Naming Style
  • Resharper/Options/Languages/VB/VB Naming Style
like image 109
Jhonny D. Cano -Leftware- Avatar answered Nov 08 '22 07:11

Jhonny D. Cano -Leftware-


In Resharper 7.x it's different than v6.0, its under the specific Language, for me Resharper/Options/C#/C# Naming Style/Advanced settings at the bottom of which are a list of space separated abbreviations.

Here's jetbrains (outdated?) site which details (I think the 6.x way of doing it?) http://www.jetbrains.com/resharper/webhelp50/Coding_Assistance__Naming_Style.html#dynaProc3

like image 49
m1m1k Avatar answered Nov 08 '22 07:11

m1m1k


In the 5.0 beta, it's similar

ReSharper/Options/Languages/Naming Style/Advanced Settings...

Then there's a box at the bottom called "Edit abbreviations as plain text"

like image 27
Neil Avatar answered Nov 08 '22 07:11

Neil


In Resharper 6, it's almost the same as 5...

ReSharper/Options/Languages/Naming Style/Advanced Settings...

Then the box at the bottom is called "Abbreviations as plain text (UPPER CASE only):"

like image 25
Jesse Webb Avatar answered Nov 08 '22 07:11

Jesse Webb