Skip to content

Remove cohost feature flag and various associated non-cohosting features#12874

Merged
davidwengier merged 22 commits intodotnet:mainfrom
davidwengier:RemoveCohostFlag
Mar 9, 2026
Merged

Remove cohost feature flag and various associated non-cohosting features#12874
davidwengier merged 22 commits intodotnet:mainfrom
davidwengier:RemoveCohostFlag

Conversation

@davidwengier
Copy link
Member

More fixes #12491

Still more code to delete, and clean up, but I think I might pause here for a little while :)

@davidwengier davidwengier requested a review from a team as a code owner March 6, 2026 20:14
{
Context = null,
ProjectIdentifier = documentSnapshot.Project.Key.Id,
ProjectIdentifier = documentSnapshot.Project.IntermediateOutputPath,
Copy link
Contributor

Choose a reason for hiding this comment

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

documentSnapshot.Project.IntermediateOutputPath,

This is ok not being normalized?

Copy link
Member Author

Choose a reason for hiding this comment

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

Yeah, this isn't even displayed anywhere AFAIK. In general, the whole concept of normalization can go away entirely now I think. Arguably so can the idea of document and project snapshots.

=> CheckIfFileUriAndExtensionMatch(uri, LanguageServerConstants.CSharpVirtualDocumentSuffix);

public bool IsVirtualCSharpFile(Uri uri)
{
Copy link
Contributor

Choose a reason for hiding this comment

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

nit: =>

@ToddGrun
Copy link
Contributor

ToddGrun commented Mar 8, 2026

As far as I can tell, things look good, but to be fair, I had no idea 80% of what was removed in this PR even existed.

Copy link
Contributor

@ToddGrun ToddGrun 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
Copy link
Member Author

davidwengier commented Mar 9, 2026

I had no idea 80% of what was removed in this PR even existed

I knew it existed, but I'd have been hard pressed to tell you whether it was necessary :)

@davidwengier davidwengier enabled auto-merge March 9, 2026 20:45
@davidwengier davidwengier merged commit 7b8f170 into dotnet:main Mar 9, 2026
10 checks passed
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.

Remove legacy code no longer needed with cohosting enabled

2 participants