Method call completion for "new" expression when the created object's type is already known. #54213
Labels
Area-IDE
Concept-Continuous Improvement
help wanted
The issue is "up for grabs" - add a comment if you are interested in working on it
Milestone
This issue has been moved from a ticket on Developer Community.
Method call completion (pressing ";" while having a method highlighted in Intellisense in order for the IDE to insert the highlighted item + "();") is a really nice touch but I'd love it if it also applied to the "new" expression when the created object's type is already known.
In other words when you write the following line of code:
StringBuilder sb =
and then proceed to write "new":
StringBuilder sb = new
by this time Intellisense has popped up and offered "new" as a likely candidate, it would be lovely if, at this moment, pressing ";" would insert parentheses, like so:
StringBuilder sb = new();
Original Comments
Feedback Bot on 6/14/2021, 07:05 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: