tags:

views:

1199

answers:

2

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??

+21  A: 
  • 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
Jhonny D. Cano -Leftware-
Thanks! Don't know why I couldn't find it myself.
Alex Czarto
You welcome, happy for be helpful
Jhonny D. Cano -Leftware-
Can't find them there, the dialog seems cut short on Win7/Vs2008
Andomar
Funny I was having exactly the same problem. Thanks for the solution
Vertis
The "Manage Abbreviations" button is cut off a bit with Win7/VS2008. I was able to click the top of the button, though. If you can't, click in the grid for "User defined naming rules", press tab three times, then hit the spacebar. That focuses and hits the "Manage abbreviations..." button.
Thomas G. Mayfield
+3  A: 

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"

Neil

related questions