Skip to content

Conversation

@ryzngard
Copy link
Contributor

VS Code side of dotnet/roslyn#74727

@ryzngard ryzngard requested review from a team as code owners August 13, 2024 20:47
@ryzngard ryzngard changed the base branch from main to prerelease August 13, 2024 20:50

public static deserialize(value: string): vscode.Uri {
return vscode.Uri.parse(value);
return vscode.Uri.parse(value, true);
Copy link
Member

Choose a reason for hiding this comment

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

what does true do here?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

it's the strict parameter. It causes it to throw if the Uri doesn't have a schema

…tIdentifier for dynamic file requests/responses
Copy link
Member

@dibarbet dibarbet left a comment

Choose a reason for hiding this comment

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

pending roslyn update

// matches https://github.com/dotnet/roslyn/blob/9e91ca6590450e66e0041ee3135bbf044ac0687a/src/LanguageServer/Microsoft.CodeAnalysis.LanguageServer/HostWorkspace/RazorDynamicFileInfoProvider.cs#L28
export class RemoveDynamicFileParams {
constructor(public readonly razorFiles: DocumentUri[]) {}
constructor(public readonly csharpDocument: TextDocumentIdentifier) {}
Copy link
Contributor Author

Choose a reason for hiding this comment

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

so ironically I named this wrong in the original PR 😅. I'll get that fixed later

@dibarbet dibarbet merged commit 29425b0 into dotnet:prerelease Aug 14, 2024
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