Closed vsfeedback closed 3 weeks ago
I verified that the rename option disapeared for Razor scenarios /cc @jasonmalinowski
To workaround this issue you can use hotkeys such as ctrl + r, ctrl + r to rename your items.
Repro:
currentCount
Why after 2 years it still doesn't work correctly??
@iiKuzmychov this is currently on the backlog. So this does not take priority over all the other work we have on our plates. If you'd like to contribute a fix here though, we'd help get that in!
Closing out as this would be handled by razor.
This issue has been moved from a ticket on Developer Community.
Hi Team,
Using VS Community 2019 V16.6.0 on Windows 10, when creating and using Blazor WebAssembly App project template, in a Blazor component, I am not seeing the Rename refactoring option when I right click a variable or method name. But rename does work in JavaScript code in the same project.
Reproduce steps:
dotnet/aspnetcore#1. Create a new Blazor WebAssembly App project.
dotnet/aspnetcore#2. Add some codes in .razor file for example Index.razor and includes methods and variables.
dotnet/aspnetcore#3. move cursor to focus on the method's name or variable, then right-click it, you will not find the "Rename" option in the list.
If this is a potential issue, please fix it.
Thanks.
Original Comments
Visual Studio Feedback System on 6/3/2020, 00:22 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)