Skip to content

Update repository and path for Razor repo#313011

Merged
alexr00 merged 3 commits intomicrosoft:mainfrom
davidwengier:patch-1
May 4, 2026
Merged

Update repository and path for Razor repo#313011
alexr00 merged 3 commits intomicrosoft:mainfrom
davidwengier:patch-1

Conversation

@davidwengier
Copy link
Copy Markdown
Member

We merged the Razor repo into Roslyn so the source for the cshtml tmLanguage needs to change.

Copilot AI review requested due to automatic review settings April 28, 2026 12:56
Copy link
Copy Markdown
Contributor

Copilot AI left a comment

Choose a reason for hiding this comment

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

Pull request overview

Updates the Razor extension’s grammar update script to pull the cshtml TextMate grammar from the Razor sources after they were merged into the dotnet/roslyn repository.

Changes:

  • Switch the upstream grammar repository from dotnet/razor to dotnet/roslyn.
  • Update the upstream path to the aspnetcorerazor.tmLanguage.json file within the Roslyn repo layout.

Comment thread extensions/razor/build/update-grammar.mjs
@alexr00 alexr00 enabled auto-merge (squash) May 4, 2026 09:13
Copy link
Copy Markdown
Member

@alexr00 alexr00 left a comment

Choose a reason for hiding this comment

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

Thank you for the PR!

@alexr00 alexr00 merged commit 1ad29ef into microsoft:main May 4, 2026
26 checks passed
@vs-code-engineering vs-code-engineering Bot added this to the 1.120.0 milestone May 4, 2026
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.

6 participants