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

[html] support goto definition on built-in symbols inside of script #236603

Open
psnet opened this issue Dec 19, 2024 · 1 comment
Open

[html] support goto definition on built-in symbols inside of script #236603

psnet opened this issue Dec 19, 2024 · 1 comment
Assignees
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities html HTML support issues
Milestone

Comments

@psnet
Copy link

psnet commented Dec 19, 2024

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

Version: 1.96.1 (user setup)
Commit: 42b2661
OS: Windows_NT x64 10

Steps to Reproduce:

  1. Create new file with html type
  2. Put code
<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
</head>

<body>
    <script>
        const b = new Blob([]);
    </script>
</body>

</html>
  1. Press ctrl and hover cursor over Blob to see underline to go to definition
  2. No underline below Blob and click on it doesnt do anything
@aeschli
Copy link
Contributor

aeschli commented Dec 19, 2024

Not sure that Go To Definition ever worked on built-in symbols in embedded JavaScript.
It works for symbols defined in the script itself.

@aeschli aeschli changed the title Broke goto definition click inside of script in html [html] support goto definition on built-in symbols inside of script Dec 19, 2024
@aeschli aeschli added html HTML support issues feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities labels Dec 19, 2024
@aeschli aeschli added this to the Backlog milestone Dec 19, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature-request Request for new features or functionality help wanted Issues identified as good community contribution opportunities html HTML support issues
Projects
None yet
Development

No branches or pull requests

2 participants