Skip to content

Respond to Roslyn adding Razor options service#3719

Closed
allisonchou wants to merge 4 commits intomainfrom
allichou/AddRazorOptionsService
Closed

Respond to Roslyn adding Razor options service#3719
allisonchou wants to merge 4 commits intomainfrom
allichou/AddRazorOptionsService

Conversation

@allisonchou
Copy link
Contributor

Summary of the changes

  • This change can't go in until [LSP] Add Razor options provider to Roslyn roslyn#53879 goes in.
  • C# isn't respecting the user's tabs/spaces setting when generating override and partial method completion TextEdits. To address this, an options provider was added on the Roslyn side that now reads options from Razor. I'm unsure if this is the ideal approach, definitely open to feedback!

Fixes:
https://github.com/dotnet/aspnetcore/issues/32555

Copy link

@NTaylorMullen NTaylorMullen left a comment

Choose a reason for hiding this comment

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

Looks good! 🎉

@allisonchou
Copy link
Contributor Author

So I changed the logic here again due to changes on the Roslyn side. 😅 at this point, I think it might be best for the Roslyn side to get totally signed off + merged before I start pinging people for reviews here on the Razor side.

@allisonchou
Copy link
Contributor Author

Closing in favor of #3768, since I believe the changes need to target -vs-deps due to the package dependency requirements.

@allisonchou allisonchou deleted the allichou/AddRazorOptionsService branch August 13, 2021 22:07
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