dotnet / roslyn

The Roslyn .NET compiler provides C# and Visual Basic languages with rich code analysis APIs.
https://docs.microsoft.com/dotnet/csharp/roslyn-sdk/
MIT License
18.91k stars 4.01k forks source link

Quick actions show different options on selection #36756

Open vsfeedback opened 5 years ago

vsfeedback commented 5 years ago

Quick actions show different options depending on whether a cursor is placed on an identifier or a character of the identifier is selected. For example, it is not possible to generate a constructor parameter from a field when a cursor is placed on this field's name, it's only possible when at least one character of this name is selected.

I'd like to be able to generate constructor parameters without having to use selection first.

This issue has been moved from https://developercommunity.visualstudio.com/content/problem/618566/quick-actions-show-different-options-on-selection.html VSTS ticketId: 936358 These are the original issue comments:

Visual Studio Feedback System on 6/24/2019, 03:25 AM (35 hours ago):

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.

These are the original issue solutions: (no solutions)

petrroll commented 5 years ago

This one is not within the immediate scope of my work for #35525 as it deals with selection/usage of multiple nodes. I might try to look at it later.

petrroll commented 5 years ago

Unfortunately didn't get chance to move generateXYZ refactorings to new system within the time of my internship.