Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

C# field rename refactoring messing up when space is included #39041

Open
vsfeedback opened this issue Oct 3, 2019 · 1 comment
Open

C# field rename refactoring messing up when space is included #39041

vsfeedback opened this issue Oct 3, 2019 · 1 comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Feature - Rename
Milestone

Comments

@vsfeedback
Copy link

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)

@gafter gafter added the Area-IDE label Oct 4, 2019
@jinujoseph jinujoseph added the Bug label Oct 8, 2019
@jinujoseph jinujoseph added this to the Backlog milestone Oct 8, 2019
@jinujoseph
Copy link
Contributor

cc @ryzngard

@sharwell sharwell added the Developer Community The issue was originally reported on https://developercommunity.visualstudio.com label Nov 21, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Bug Developer Community The issue was originally reported on https://developercommunity.visualstudio.com Feature - Rename
Projects
None yet
Development

No branches or pull requests

5 participants