Introduce Field Refactoring: Suggested name is currentName1 rather than currentName.

This is related to the closed issue

https://youtrack.jetbrains.com/issue/RIDER-20028?_ga=2.86673496.1503893253.1585236878-835688428.1538021624&_gac=1.152500683.1584577326.Cj0KCQjwjcfzBRCHARIsAO-1_OqhNVHVtgaab-dVZqUdo3EsCU7MA7cO5hMyxykf6gpRGKg91gHRlNIaAp2QEALw_wcB

My rider is up-to-date.

Problem: When i click on a local variable and select "Refactor: Introduce field" it adds a 1 to the end of the current name of the local variable.

Expected: Should default to the name of the selected variable.

 

 

 

 

0
6 comments

Hello,

Could you please clarify what exact Rider version you are running, what OS you are using and attach a screenshot of the Preferences | Editor | Code Style | C# | Naming window(so it was possible to see Suffix for local variable)? Thank you in advance!

0
Avatar
Permanently deleted user

Hello, I'm using Rider 2019.3  When I go to Update Rider, it says it's up to date. I'm on Windows 10.

0

There is a different open issue for it: RSRP-458614. We would appreciate it if you would upvote it in order to bring increased awareness to the issue. Also please click to Watch it for monitoring the progress.

0
Avatar
Permanently deleted user

This is still occurring in 2020.2 on both windows and Mac.

0

Hello @...,

RSRP-458614 is currently open and affect both Rider and ReSharper. Once the status of the issue changes, you will be notified as long as you are "Watching" this issue.

We hope to fix this issue in the future, but we do not have any ETA yet.

0
Avatar
Permanently deleted user

This still occurs in 2021.3.3

0

Please sign in to leave a comment.