Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix Razor support #992

Merged
merged 1 commit into from
May 2, 2024
Merged

Fix Razor support #992

merged 1 commit into from
May 2, 2024

Conversation

meenzen
Copy link
Contributor

@meenzen meenzen commented Apr 26, 2023

  • Adds missing C# comments
  • Adds missing C# quotes
  • Adds support for Razor Components (.razor files)

Blocks like this will now be counted correctly:

@{
    // foo
    string foo = "bar";

    /*
    * bar
    */
    string bar = "foo";
}

Razor docs: https://learn.microsoft.com/en-us/aspnet/core/mvc/views/razor?view=aspnetcore-7.0

@XAMPPRocky
Copy link
Owner

Thank you for your PR, and congrats on your first contribution! 🎉

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