Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Since the named pipe support is intended to only be used by RZLS, this change moves the support types into
MS.ANC.Razor.LanguageServer
and organizes them in aMS.ANC.Razor.LanguageServer.Hosting.NamedPipes
namespace. In addition, I've moved a couple ofIServiceCollection
extension methods into theMS.ANC.Razor.LanguageServer.Hosting
namespace to avoid opening up internals visible to access to the entireMS.ANC.Razor.LanguageServer.Extension
namespace, even if it's just to RZLS. The goal of havingRestrictedInternalsVisibleTo
for theMS.ANC.Razor.LanguageServer.Hosting
namespace is to control the exposed surface area of the language server. If something is needed by VS or RZLS, strongly consider whether it should just be added to theHosting
namespace to avoid unintentionally dependencies that might need to be detangled later.Note: Once this is merged, I'll submit a PR to update the code pointer comment at https://github.com/dotnet/vscode-csharp/blob/eb38986a52a8be7221d0e466f7a25c98dcbd7825/src/razor/src/razorLanguageServerClient.ts#L228.