Skip to content

Changing class name casing renames file in C # #39617

@vsfeedback

Description

@vsfeedback

This issue has been moved from a ticket on Developer Community.


  1. Create new .NET Framework console app project using C# language;
  2. You should end up with a project with a single Program class;
  3. Move cursor to the Program word on the class Program line;
  4. Press the F2 key to start renaming;
  5. Change the lowercase g to the uppercase G;
  6. Confirm rename by pressing Enter;
  7. Notice that the file was renamed to ProGram1.cs.

Expexted result: no rename happens, or renamed file name case matches the class name case without any extra characters.


Original Comments

Visual Studio Feedback System on 10/11/2019, 07:52 PM:

We have directed your feedback to the appropriate engineering team for further evaluation. The team will review the feedback and notify you about the next steps.

Visual Studio Feedback System on 10/18/2019, 09:12 AM:

This issue is currently being investigated. Our team will get back to you if either more information is needed, a workaround is available, or the issue is resolved.


Original Solutions

(no solutions)

Metadata

Metadata

Assignees

Labels

Area-IDEBugDeveloper CommunityThe issue was originally reported on https://developercommunity.visualstudio.com

Type

No type
No fields configured for issues without a type.

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions