Skip to content

Conversation

@CyrusNajmabadi
Copy link
Member

Fixes #54213

@CyrusNajmabadi CyrusNajmabadi requested a review from a team as a code owner November 29, 2024 08:49
@ghost ghost added Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead labels Nov 29, 2024
if (!speculative)
{
var edit = args.SubjectBuffer.CreateEdit();
edit.Insert(caret, "();");
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

edit.Insert(caret, "();");

Is adding the class name for the new operator an option that can be specified?

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Chatted offline, didn't consider that scenario important enough unless there is customer feedgack.

Copy link
Contributor

@ToddGrun ToddGrun left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:shipit:

@CyrusNajmabadi CyrusNajmabadi merged commit 92c2860 into dotnet:main Dec 2, 2024
25 checks passed
@CyrusNajmabadi CyrusNajmabadi deleted the newCompletion branch December 2, 2024 21:02
@dotnet-policy-service dotnet-policy-service bot added this to the Next milestone Dec 2, 2024
@dibarbet dibarbet modified the milestones: Next, 17.13 P3 Jan 7, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Area-IDE untriaged Issues and PRs which have not yet been triaged by a lead

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

3 participants