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

Fix Generate Event Handler code action #10967

Merged

Conversation

davidwengier
Copy link
Contributor

@davidwengier davidwengier commented Oct 4, 2024

Cherry pick of the commit from #10959 that fixes code actions in FUSE, and fixing the generate event handler code action which is unrelated to FUSE, in case we decide we want to take it for 17.12 P3

Fixes https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2268945

@davidwengier davidwengier requested a review from a team as a code owner October 4, 2024 02:11
@davidwengier
Copy link
Contributor Author

Just a note: I updated the description, this fixes code actions in general in FUSE, but also fixes the Generate Event Handler code action issue, which is unrelated to FUSE, and simply a genuine product bug

@davidwengier davidwengier changed the title Fix code action requests with FUSE Fix Generate Event Handler code action Oct 5, 2024
@davidwengier
Copy link
Contributor Author

Got QB approval. Merging

@davidwengier davidwengier merged commit a7648d0 into dotnet:release/dev17.12 Oct 8, 2024
12 checks passed
@davidwengier davidwengier deleted the FixCodeActionsInFUSE branch October 8, 2024 05:34
davidwengier added a commit that referenced this pull request Oct 30, 2024
…11122)

Fixes #11112
Hopefully fixes
https://devdiv.visualstudio.com/DevDiv/_workitems/edit/2290299/ but I'm
not sure, as whilst OnAutoInsert was definitely broken for me, it didn't
cause that repro. It just sent telemetry for a fault and did nothing in
the IDE.
Fixes
https://developercommunity.visualstudio.com/t/Razor-editor-is-broken-in-1712-Preview-/10777527
~but awaiting confirmation that FUSE is on for the user who reported the
issue (@richardhauer I don't suppose that's you?)~
Fixes https://dev.azure.com/devdiv/DevDiv/_workitems/edit/2294069

Sadly, in order to get a working test for this, I had to enable FUSE in
cohosting. I say sadly because whilst it proves the cohosting tests are
awesome, it does potentially break us into jail a little bit. But only
in cohosting, so it's a pretty small jail :)

The changes aren't very exciting, as this is just
#10967 but for more than code
actions (and these changes probably should have been part of that PR
originally 🤦‍♂️), but each commit has an explanation for why it's there
so commit-at-a-time might be enlightening. I could not resist a little
clean up, but what's one little deleted service between friends?
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants