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

Port "don't mess with user caret in smart rename" to 17.12 #76897

Open
wants to merge 1 commit into
base: release/dev17.12
Choose a base branch
from

Conversation

AmadeusW
Copy link
Contributor

@AmadeusW AmadeusW commented Jan 24, 2025

Ports @olegtk 's fix "don't mess with user caret in smart rename" #75294 to resolve a P0 UX issue

Before the fix, entire textbox was selected when rename suggestions became available.
roslyn rename selection 172 broken

After the fix, user's selection remains unchanged when rename suggestions became available.
Verified in 17.12.4 where I deployed this code.
roslyn rename selection 172 verification

…rCaretAutoRename

don't mess with user caret in smart rename
@AmadeusW AmadeusW requested a review from a team as a code owner January 24, 2025 00:18
@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jan 24, 2025
@dotnet-policy-service dotnet-policy-service bot added the Community The pull request was submitted by a contributor who is not a Microsoft employee. label Jan 24, 2025
@AmadeusW AmadeusW changed the title Merge pull request #75294 from olegtk/dev/olegtk/DontStompOnUserCaret… Port "don't mess with user caret in smart rename" to 17.12 Jan 24, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Area-IDE Community The pull request was submitted by a contributor who is not a Microsoft employee. untriaged Issues and PRs which have not yet been triaged by a lead
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants