Find centralized, trusted content and collaborate around the technologies you use most.
Teams
Q&A for work
Connect and share knowledge within a single location that is structured and easy to search.
有没有办法告诉 ReSharper在类型(' -ally')上使用字段或方法时使用String和Int64类型名称,但是对于变量初始化?staticstringlong
String
Int64
static
string
long
例子:
string name = "@user"; // but int compResult = String.Compare(a, b, ...); long x = 0; // but long x = Int64.Parse(s);
目前没有 ReSharper 选项String比string.
最近在他们的社区委员会上提出了同样的问题。