C# 'out' variable intellisense completion #46268
Labels
Area-IDE
Concept-Continuous Improvement
IDE-IntelliSense
Completion, Signature Help, Quick Info
Resolution-Duplicate
The described behavior is tracked in another issue
Milestone
This issue has been moved from a ticket on Developer Community.
In C#, I often use the "Try..." methods to retrieve a value via an out variable. For example, the TryGetValue method on Dictionary. I notice that Visual Studio 2019 IntelliSense shows a reasonable out parameter type and default variable name, like out SubscriptionItem value in the example shown below. However, I can't figure out a way to autocomplete this and accept the suggested parameter definition in the manner of an expanded snippet.
Is there a way to autocomplete this without manually typing out what IntelliSense is already suggesting? If not, I'd like to suggest this feature. Thanks!
Original Comments
Feedback Bot on 7/9/2020, 11:16 PM:
Thank you for taking the time to provide your suggestion. We will do some preliminary checks to make sure we can proceed further. We'll provide an update once the issue has been triaged by the product team.
The text was updated successfully, but these errors were encountered: