Skip to content

Cleanup some Razor

Cleanup some Razor #84

Triggered via push April 13, 2026 14:59
Status Failure
Total duration 15s
Artifacts

syntax.yml

on: push
Matrix: main
Fit to window
Zoom out
Zoom in

Annotations

30 errors
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 133 | <%-- ^ punctuation.section.block.begin.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 132 | <%-- ^^ meta.block.cs --%> | ^^ these locations did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 131 | <%-- ^^^^ keyword.control.conditional.else.cs --%> | ^^^^ these locations did not match actual: | ^^^^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 130 | <%-- ^ punctuation.section.block.end.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 124 | <%-- ^^ text.html.cs.webforms meta.embedded.cs punctuation.section.embedded.end.cs-webforms - source --%> | ^^ these locations did not match actual: | ^ text.html.cs.webforms.aspx | ^ text.html.cs.webforms.aspx meta.character.greater-than.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 123 | <%-- ^ punctuation.section.block.begin.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 122 | <%--^^^^^^ meta.embedded.cs source.cs.embedded.html --%> | ^^^^^^ these locations did not match actual: | ^^^^^^^^ text.html.cs.webforms.aspx | ^^ text.html.cs.webforms.aspx
Syntax Tests (stable): ./WebForms/tests/syntax_test_aspx.aspx#L111
scope does not match 111 | <% } %> 115 | <%-- ^ invalid.illegal.stray.brace.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (stable): ./WebForms/tests/syntax_test_ashx.ashx#L0
failed to load syntax file "Packages/HTML (C#)/WebForms/ashx.sublime-syntax"
Syntax Tests (stable): ./Razor/tests/syntax_test_cshtml.cshtml#L0
failed to load syntax file "Packages/HTML (C#)/Razor/Razor.sublime-syntax"
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L241
scope does not match 241 | <a href="@Model.GetLinkForPage(Model.CurrentPage - 1)">«</a> 252 | <!-- ^^^^^ variable.other.cs --> | ^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html variable.language.this.razor
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L241
scope does not match 241 | <a href="@Model.GetLinkForPage(Model.CurrentPage - 1)">«</a> 251 | <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.cs.embedded.html-attribute-string.razor --> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html variable.language.this.razor | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^^^^^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs variable.function.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs punctuation.section.group.begin.cs | ^^^^^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs variable.language.this.razor | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs punctuation.accessor.dot.cs | ^^^^^^^^^^^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs variable.other.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs keyword.operator.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs meta.number.integer.decimal.cs constant.numeric.value.cs | ^ text.html.cs.razor meta.tag.inline.any.html meta.attribute-with-value.href.html meta.path.url.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs punctuation.section.group.end.cs
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 220 | <!-- ^^^^^ variable.other.cs --> | ^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 219 | <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.cs.embedded.html-attribute-string.razor --> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^^^^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html meta.function-call.cs variable.function.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 196 | <!-- ^^^^^ variable.other.cs --> | ^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 195 | <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.cs.embedded.html-attribute-string.razor --> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html meta.function-call.cs variable.function.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs punctuation.section.group.begin.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html meta.function-call.cs meta.group.cs punctuation.section.group.end.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs |
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 184 | <!-- ^^^^^ variable.other.cs --> | ^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 183 | <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ source.cs.embedded.html-attribute-string.razor --> | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 174 | <!-- ^^^^^ variable.other.cs --> | ^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor
Syntax Tests (4201): ./Razor/tests/syntax_test_cshtml.cshtml#L160
scope does not match 160 | <div class="grid-mvc" data-lang="@Model.Language" data-gridname="@Model.RenderOptions.GridName" data-selectable="@Model.RenderOptions.Selectable.ToString().ToLower()" data-multiplefilters ="@Model.RenderOptions.AllowMultipleFilters.ToString().ToLower()"> 173 | <!-- ^^^^^^^^^^^^^^ source.cs.embedded.html-attribute-string.razor --> | ^^^^^^^^^^^^^^ these locations did not match actual: | ^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.language.this.razor | ^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html punctuation.accessor.dot.cs | ^^^^^^^^ text.html.cs.razor meta.tag.block.any.html meta.attribute-with-value.html meta.string.html string.quoted.double.html variable.other.cs
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 133 | <%-- ^ punctuation.section.block.begin.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 132 | <%-- ^^ meta.block.cs --%> | ^^ these locations did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 131 | <%-- ^^^^ keyword.control.conditional.else.cs --%> | ^^^^ these locations did not match actual: | ^^^^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L126
scope does not match 126 | <% } else { %> 130 | <%-- ^ punctuation.section.block.end.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 124 | <%-- ^^ text.html.cs.webforms meta.embedded.cs punctuation.section.embedded.end.cs-webforms - source --%> | ^^ these locations did not match actual: | ^ text.html.cs.webforms.aspx | ^ text.html.cs.webforms.aspx meta.character.greater-than.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 123 | <%-- ^ punctuation.section.block.begin.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L121
scope does not match 121 | { %> 122 | <%--^^^^^^ meta.embedded.cs source.cs.embedded.html --%> | ^^^^^^ these locations did not match actual: | ^^^^^^^^ text.html.cs.webforms.aspx | ^^ text.html.cs.webforms.aspx
Syntax Tests (latest): ./WebForms/tests/syntax_test_aspx.aspx#L111
scope does not match 111 | <% } %> 115 | <%-- ^ invalid.illegal.stray.brace.cs --%> | ^ this location did not match actual: | ^^ text.html.cs.webforms.aspx meta.embedded.cs source.cs.embedded.html
Syntax Tests (latest): ./WebForms/tests/syntax_test_ashx.ashx#L0
failed to load syntax file "Packages/HTML (C#)/WebForms/ashx.sublime-syntax"
Syntax Tests (latest): ./Razor/tests/syntax_test_cshtml.cshtml#L0
failed to load syntax file "Packages/HTML (C#)/Razor/Razor.sublime-syntax"