Is there a way to differentiate casing of a type when a method is statically called?

Say you define a string and then you want to check it by calling IsNullOrEmpty:

string someValue = "Here is the string value";

if ( ! string.IsNullOrEmpty( someValue ) )
{
     etc...
}

Is there a way to configure ReSharper to UpperCamelCase the type of the static method call?  (But still leave declarations lower case.)

String.IsNullOrEmpty()...  (notice String is upper case)

This would allow you to easily tell the difference between definitions and static method calls on an aliased type.

1 comment

Hello Dan,

At the moment this is not possible with ReSharper, but we will consider such
functionality for the future releases. Thank you!

Andrey Serebryansky
Senior Support Engineer
JetBrains, Inc
http://www.jetbrains.com
"Develop with pleasure!"

Say you define a string and then you want to check it by calling
IsNullOrEmpty:

string someValue = "Here is the string value";

if ( ! string.IsNullOrEmpty( someValue ) )
{
etc...
}
Is there a way to configure ReSharper to UpperCamelCase the type of
the static method call?  (But still leave declarations lower case.)

String.IsNullOrEmpty()...  (notice String is upper case)

This would allow you to easily tell the difference between definitions
and static method calls on an aliased type.

---
Original message URL:
http://devnet.jetbrains.net/message/5308379#5308379



0

Please sign in to leave a comment.