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

Intellisense broken in 1.44.3 & 1.44.4 #1126

Closed
timothy-b opened this issue Jun 29, 2024 · 2 comments
Closed

Intellisense broken in 1.44.3 & 1.44.4 #1126

timothy-b opened this issue Jun 29, 2024 · 2 comments

Comments

@timothy-b
Copy link

Describe the bug
Intellisense doesn't work for imported code with Deno 1.44.3 or 1.44.4, but does work with 1.44.2 and 1.44.1.

To Reproduce

  1. Create a new directory + main.ts
  2. Paste in:
    // @deno-types="npm:@types/[email protected]"
    import express from "npm:[email protected]";
    
    const app = express();
    
    app.get("/", (req, res) => {
      res.send("Welcome to the Dinosaur API!");
    });
    
    app.listen(8000);
  3. Run Deno: Enable in VS Code Command Palette, deno upgrade --version 1.44.3 in terminal, and then Developer: Reload Window in Command Palette.
  4. Put your cursor somewhere in the editor and try app.

Expected behavior
I expect Intellisense to suggest a list of members of the Express interface.

Screenshots
untitled

Versions

vscode: 1.90.2 deno: 1.44.3 - 1.44.4 extension: v3.37.1

@nayeemrmn
Copy link
Collaborator

This was fixed by denoland/deno#24353, please try out deno upgrade --canary to check.

@timothy-b
Copy link
Author

That works, thank you!

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

No branches or pull requests

2 participants