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

Cohosting: Update Html virtual document from OOP #10175

Merged
merged 7 commits into from
Mar 30, 2024

Conversation

davidwengier
Copy link
Contributor

Part of #9519

When cohosting is on, while processing a didOpen or didChange for a Razor document, we now call into OOP to get the generated Html document contents, and then update the virtual buffer.

@davidwengier davidwengier requested a review from a team as a code owner March 28, 2024 02:16
Copy link
Contributor Author

Choose a reason for hiding this comment

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

These changes look worse than they are. What I did was rearrange the entries so that each service is grouped together, and I noticed some paths used the ServiceHubCoreSubPath variable, and some hardcoded the path, so I fixed that too.

I'm going to prioritize #10106 and get rid of all of this though, because I lost about half a day trying to get this new service to work, only to discover than Roslyn strips the word "Service" off the end of a service, and assumes that the json files do the same thing.

Copy link
Contributor Author

Choose a reason for hiding this comment

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

As above, this is mainly just rearranging to group services together.

@davidwengier davidwengier requested a review from a team as a code owner March 30, 2024 07:23
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