Back here after a long time(2 years) and trying to get back into coding.
Was going through a YouTube tutorial and having a problem here at this point which I have described below. https://youtu.be/2-crBg6wpp0?list=PL9Jiq69EpAlMnKQ2Hx3vaYlRDjimsIkcC&t=18561
I am using VS code with Intellisense. I am trying to import a js module from a js file. Intellisense only works when the file is open that is it gives me autofill suggestion while trying to import the file only when the file is open. How to fix it to make it work so that it gives me import suggestion even when the file to be imported from is not open?
Trying to get Intellisense to give me a autofill suggestion like this while importing
import { data } from "../../../data";
But it only works when the data file is open.