Rehsarper 4.0 – Renaming a class does not rename the file…
I probably set something on accident in the options, but I can’t find it. Any ideas?
Rehsarper 4.0 – Renaming a class does not rename the file… I probably set
Share
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
When I do a rename in Resharper there’s a checkbox below the textbox where you type the new name that says ‘Synchronise file name with class name’. Check that and the file is renamed too.
Be sure you’re using Resharper’s rename (right-click/Refactor/Rename) rather than Visual Studio’s (right-click/Rename), as the latter definitely doesn’t rename the file.