Target line-of-code for Razor HTML attributes #81
Annotations
27 errors and 3 warnings
|
Syntax Tests (4201)
Process completed with exit code 1.
|
|
Syntax Tests (4201):
./Razor/tests/syntax_test_cshtml.cshtml#L271
scope does not match
271 | <a href="@Model.FunctionCall("embedded string")">"quotes" everywhere</a>
281 | <!-- ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 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.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 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 meta.string.cs string.quoted.double.cs punctuation.definition.string.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 meta.string.cs string.quoted.double.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.string.cs string.quoted.double.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.string.cs string.quoted.double.cs punctuation.definition.string.end.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#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.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 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.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 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()">
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.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 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.functi
|
|
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.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 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()">
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.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 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()">
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.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 (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 (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"
|
|
Syntax Tests (4201)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Syntax Tests (stable)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|
|
Syntax Tests (latest)
Node.js 20 actions are deprecated. The following actions are running on Node.js 20 and may not work as expected: actions/checkout@v4. Actions will be forced to run with Node.js 24 by default starting June 2nd, 2026. Node.js 20 will be removed from the runner on September 16th, 2026. Please check if updated versions of these actions are available that support Node.js 24. To opt into Node.js 24 now, set the FORCE_JAVASCRIPT_ACTIONS_TO_NODE24=true environment variable on the runner or in your workflow file. Once Node.js 24 becomes the default, you can temporarily opt out by setting ACTIONS_ALLOW_USE_UNSECURE_NODE_VERSION=true. For more information see: https://github.blog/changelog/2025-09-19-deprecation-of-node-20-on-github-actions-runners/
|