Given the following function:
public SomeClass(int RequestID)
{
// blah
}
Resharper complains that my parameter should be requestId
(which doesn't make sense first of all, because the .NET API uses UpperCamelCase
most of the time for their public methods. I went into the configuration and changed the lowerCamelCase
to UpperCamelCase
.
Now Resharper complains that instead of RequestID
, it should be RequestId
. Thats a little better, but I'm the kind of guy that likes ID
开发者_JAVA技巧and not Id
. Anyone got a configuration fix for this?
Add ID to the Abbreviations list. The Intellisense menu should have that option.
To manage your abbreviations, go to
Resharper -> Options -> Languages -> Common -> Naming Styles -> Advanced Settings..
精彩评论