Skip to content

HTML: comments inside a script tag no longer sensitive to script language #12969

@bgashler1

Description

@bgashler1
  • VSCode Version: Insiders
  • OS Version: Windows 10

Regarding test plan item #12100

Steps to Reproduce:

  1. Select some JavaScript code inside of a <script> block in an HTML file*.
  2. Use the keyboard shortcut to "Add a line comment" or run the command from the command palette.
  3. Note that in the latest Insiders build, it no longer uses //``JavaScript-valid comments; instead, it now uses` comments.

Current Insiders
screen shot 2016-09-28 at 9 44 55 pm

Current Stable
screen shot 2016-09-28 at 9 44 18 pm

*I'm not sure, but this may apply to Handlebars and Razor also.

Metadata

Metadata

Assignees

Labels

*duplicateIssue identified as a duplicate of another issue(s)bugIssue identified by VS Code Team member as probable bugdebtCode quality issueshtmlHTML support issues

Type

No type
No fields configured for issues without a type.

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions