Reputation: 36
I have been searching the web for a answer but cant find it. In vscode i cant get intellisense for javascript working. Example: var name = "test"; var name.to.... here i want it to suggest touppercase, but nothing is happening.
Any good suggestions about fixing this?
Upvotes: 1
Views: 1272
Reputation: 4994
Had a situation today, s1 has intellisense, but s2 has Not
adding 'let' to s2 fixed the issue, maybe a scoped variable can help VS code infer the type & provide intellisense.
Upvotes: 0
Reputation: 388
make sure the language selected is set to javaScript. when the file extension is .js
it's automatically set the lang to js. if your file does not have the .js extension you just need to set it manually in the bottom bar.
Upvotes: 1