Skip to content

[html] JavaScript IntelliSense in <script type=module> HTML without quotes breaks #247227

@stag-enterprises

Description

@stag-enterprises

Does this issue occur when all extensions are disabled?: Yes

  • VS Code Version: 1.100.0-insider

In an HTML file, if one does

<script>
window.
</script>

There will be IntelliSense autocomplete after the dot. Similarly, it also works with single and double quoted type=module:

<script type="module">window.</script>
<script type='module'>window.</script>

However, when doing

<script type=module>window.</script>

There is no autocomplete at all. Using the bare quote less attribute value is valid HTML, so this should be supported.

Metadata

Metadata

Assignees

Labels

bugIssue identified by VS Code Team member as probable bughtmlHTML support issuesinsiders-releasedPatch has been released in VS Code InsidersverifiedVerification succeeded

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions