question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Intellisense sometimes fails to show anything for Node modules

See original GitHub issue
  • VSCode Version: 1.32.0-insider
  • OS Version: Windows 7 64 bit

Steps to Reproduce:

  1. In a new Node project, type const http = require('http'); on line 1
  2. Copy and paste that line to line 2 (must copy and paste to reproduce most of the time)
  3. Edit line 2’s http to fs (doesn’t have to be http or fs, just any two modules)
  4. Now on line 3 type http. and you will see that Intellisense is not working.

Here is a video of the entire bug:

https://www.youtube.com/watch?v=kIshFgrrYyw

Does this issue occur when all extensions are disabled?: Pretty sure extensions need to be on for it to work properly in the first place right?

Issue Analytics

  • State:open
  • Created 5 years ago
  • Reactions:5
  • Comments:5 (2 by maintainers)

github_iconTop GitHub Comments

3reactions
jascodescommented, Mar 10, 2019

@mjbvz @RyanCavanaugh require never worked for me in .ts file; since I started using vscode since couple of years ago.

1reaction
RyanCavanaughcommented, Jul 11, 2022

None, apparently? 😅

Read more comments on GitHub >

github_iconTop Results From Across the Web

Visual Studio Code autocomplete/IntelliSense not working ...
Go to Extensions and search for @builtin TypeScript and JavaScript Language Features . Try stopping and restarting this plugin ...
Read more >
Debug Node.js Apps using Visual Studio Code
The Visual Studio Code editor includes Node.js debugging support. Set breakpoints, step-in, inspect variables and more.
Read more >
Visual Studio Code for Node.js Development | Pluralsight
You can also leverage Intellisense when working with the types included with node.js. For example, if you import the fs module, you can...
Read more >
Visual Studio 2022 Release Notes | Microsoft Learn
Also, see instructions on how to install offline. ... C++20 Modules: Bogus Intellisense error when importers use exported nested class ...
Read more >
Fix: VS Code Intellisense Not Working - YouTube
There are some extensions which are really must have for every kind of developer, and one such is - Intellisense. But if sometimes...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found