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

No top-level JSDoc syntax highlighting in script tags #135417

Closed
j4k0xb opened this issue Oct 19, 2021 · 0 comments
Closed

No top-level JSDoc syntax highlighting in script tags #135417

j4k0xb opened this issue Oct 19, 2021 · 0 comments
Assignees
Labels
bug Issue identified by VS Code Team member as probable bug grammar Syntax highlighting grammar help wanted Issues identified as good community contribution opportunities html HTML support issues javascript JavaScript support issues
Milestone

Comments

@j4k0xb
Copy link

j4k0xb commented Oct 19, 2021

Issue Type: Bug

Syntax highlighting for JSDoc works fine in standalone javascript files, but are just gray when used at the top level of script tags.
Example html:

<html>
<body>
  <script>
    /** @type {number} */
    const a = 3;

    function f() {
      /** @type {number} */
      const b = 3;
    }
  </script>
</body>
</html>

Screenshot:
2021-10-19_21-22

VS Code version: Code 1.61.1 (c13f1ab, 2021-10-14T01:15:35.620Z)
OS version: Linux x64 5.13.19-2-MANJARO
Restricted Mode: No

Edit: Closing as there's already an issue in textmate/html.tmbundle#109

@mjbvz mjbvz added grammar Syntax highlighting grammar help wanted Issues identified as good community contribution opportunities labels Oct 19, 2021
@mjbvz mjbvz added html HTML support issues javascript JavaScript support issues labels Oct 19, 2021
@alexr00 alexr00 added this to the Backlog milestone Dec 5, 2022
@mjbvz mjbvz added the bug Issue identified by VS Code Team member as probable bug label Dec 5, 2022
@j4k0xb j4k0xb closed this as not planned Won't fix, can't repro, duplicate, stale Jun 26, 2024
@vs-code-engineering vs-code-engineering bot locked and limited conversation to collaborators Aug 10, 2024
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
bug Issue identified by VS Code Team member as probable bug grammar Syntax highlighting grammar help wanted Issues identified as good community contribution opportunities html HTML support issues javascript JavaScript support issues
Projects
None yet
Development

Successfully merging a pull request may close this issue.

3 participants