Rename recommendations ALL_CAPS Follow
Completed
Code snippet:
namespace MyNamespace
{
public class MyClass
{
public void MyFunc()
{
var x = 20;
var y = new Random().Next();
var total = x * y;
Console.WriteLine("total = {0}", total);
}
}
}
Trying to rename the total variable into something normal like myTotal, but ReSharper suggests MY_TOTAL. Same problem with classes and functions. Started happening with latest Resharper update. (screenshots below)
Environment:
Microsoft Visual Studio Enterprise 2019
Version 16.4.2
VisualStudio.16.Release/16.4.2+29613.14
Microsoft .NET Framework
Version 4.8.03752
JetBrains ReSharper Ultimate 2019.3.1 Build 193.0.20191219.91525 built on 2019-12-19
ReSharper 2019.3.20191219.94350
Please sign in to leave a comment.
Hello Alex,
thank you for the feedback.
Could you please provide screenshot of Resharper | Options | Code Editing | C# | Naming Style page?
Thank you.
Screenshot below, including the Advanced... popup. Thanks!
Hello Alex,
thank you for the provided info.
Could you please share with us dotSettings from all layers via ReSharper | Manage Options | Export to file for each settings layer. You can do it via "Submit a request" form.
Also please specify if you use StyleCop or editorconfig file.
Thank you.
I've submitted the information you requested in request #2451043.
Indeed we are using an .editorConfig file, though it hasn't been modified in a long while.
Thank you!
Turns out the problem is caused by .editorconfig file settings.
Here's correspondent bug report - https://youtrack.jetbrains.com/issue/RSRP-477829
Please follow the issue to get the latest updates on it.
Thank you.