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

Method call completion for "new" expression when the created object's type is already known. #54213

Open
vsfeedback opened this issue Jun 18, 2021 · 0 comments
Assignees
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

Comments

@vsfeedback
Copy link

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.

@dotnet-issue-labeler dotnet-issue-labeler bot added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Jun 18, 2021
@jinujoseph jinujoseph added Concept-Continuous Improvement help wanted The issue is "up for grabs" - add a comment if you are interested in working on it and removed untriaged Issues and PRs which have not yet been triaged by a lead labels Jul 14, 2021
@jinujoseph jinujoseph added this to the Backlog milestone Jul 14, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
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
Projects
None yet
Development

No branches or pull requests

3 participants