Skip to content

updating razor grammar#97

Merged
danipen merged 1 commit into
danipen:masterfrom
phil-scott-78:update-razor
Jun 2, 2025
Merged

updating razor grammar#97
danipen merged 1 commit into
danipen:masterfrom
phil-scott-78:update-razor

Conversation

@phil-scott-78
Copy link
Copy Markdown
Contributor

Been a minute since the Razor syntax was updated. the demyte/language-cshtml is gone, so I went and grabbed the one right from VS Code

Lots of improvements with Blazor @code especially.

Before

before

After

after

@danipen
Copy link
Copy Markdown
Owner

danipen commented Jun 2, 2025

Thanks for the contribution! Could you please paste here the version (the commit hash or so) and the link for the grabbed grammar for reference?

@phil-scott-78
Copy link
Copy Markdown
Contributor Author

You bet. The version in the file is accurate.

    "version": "https://github.com/dotnet/razor/commit/9b1e979b6c3fe7cfbe30f595b9b0994d20bd482c",        "version": "https://github.com/dotnet/razor/commit/9b1e979b6c3fe7cfbe30f595b9b0994d20bd482c",

Pulled from
https://github.com/microsoft/vscode/blob/main/extensions/razor/syntaxes/cshtml.tmLanguage.json

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.

2 participants