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

Cannot go to definition in esm.sh imports #1246

Open
scarf005 opened this issue Jan 27, 2025 · 2 comments
Open

Cannot go to definition in esm.sh imports #1246

scarf005 opened this issue Jan 27, 2025 · 2 comments

Comments

@scarf005
Copy link

scarf005 commented Jan 27, 2025

Describe the bug

same as title. happened after lockfile got updated with redirects.

To Reproduce

  1. clone https://github.com/scarf005/blog/tree/39e34951d6e65268937c0998970999dadad48bb9
  2. in _config.ts, attempt to Go to definition for esm.sh imports

Expected behavior

type definitions are shown.

Screenshots

Image
Image

Versions

vscode: 1.96.4 deno: deno 2.1.7 (stable, release, x86_64-unknown-linux-gnu) extension: 3.43.2

@nayeemrmn
Copy link
Collaborator

I was able to reproduce by checking out the previous commit, caching, going forward a commit and caching again. But it worked when I reloaded the window. Is this still an issue @scarf005?

@scarf005
Copy link
Author

yes, it still happens when i reload the window.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants