C# field rename refactoring messing up when space is included #39041
Labels
Area-IDE
Bug
Developer Community
The issue was originally reported on https://developercommunity.visualstudio.com
Feature - Rename
Milestone
This issue has been moved from a ticket on Developer Community.
Actual result:
If you (f.ex) rename a field in a class by hitting CTRL+R CTRL+R, then possibly type a name containing a trailing space, or if you just paste a name from clipboard containing a trailing space, the rename refactoring not only treats this as if the new identifier is to have a space at the end, it adds that space everywhere the identifier is used, and obviously also where it's defined.
Expected:
Strip any and all non-valid leading and trailing control characters. Hell, just abort the operation for all I care, but not this.
Original Comments
Visual Studio Feedback System on 9/27/2019, 00:16 AM:
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.
Original Solutions
(no solutions)
The text was updated successfully, but these errors were encountered: