Skip to content

Conversation

@davidwengier
Copy link
Member

Part of #59264

This unblocks reordering parameters, and makes it work the same was as renaming them - ie, requires the UpdateParameters capability, and reports RenamingNotSupported rude edit otherwise.

This also allows for inserts and deletes of parameters, which was already mostly supported, but test coverage was not good, so I added some more, and fixed a bug.

@davidwengier
Copy link
Member Author

@tmat PTAL

@tmat
Copy link
Member

tmat commented Nov 10, 2022

                    ReportError(RudeEditKind.Move);

Seems like something that we can easily implement after this PR is merged.


Refers to: src/Features/CSharp/Portable/EditAndContinue/CSharpEditAndContinueAnalyzer.cs:2344 in fcb7bd3. [](commit_id = fcb7bd3, deletion_comment = False)

Copy link
Member

@tmat tmat left a comment

Choose a reason for hiding this comment

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

:shipit:

@davidwengier davidwengier enabled auto-merge (squash) November 11, 2022 04:02
@davidwengier davidwengier merged commit 7a25fe6 into dotnet:main Nov 11, 2022
@ghost ghost added this to the Next milestone Nov 11, 2022
@davidwengier davidwengier deleted the EnCReorderInsertDeleteParameters branch November 13, 2022 04:40
@allisonchou allisonchou modified the milestones: Next, 17.5 P2 Nov 30, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants