You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
importhttpfrom'node:...';// ctrl+space or crtl+: doesn't trigger any intellisense
In vscode I could do ctrl+space and the suggestion from vscode shows in the same project without any dependencies. Is there anything I need to do to enable this? I'm using the wrong key binding? Or, do I need to do npm install --save-dev @types/node?
UPDATE 04NOV2023
By doing npm install --save-dev @types/node suggestions are working. I just thought that just because I see that the language server JavaScript is showing in the status bar I was going to get Node intellisense out of the box without installing @types/node.
reacted with thumbs up emoji reacted with thumbs down emoji reacted with laugh emoji reacted with hooray emoji reacted with confused emoji reacted with heart emoji reacted with rocket emoji reacted with eyes emoji
-
In a brand new project with
0
dependencies.In vscode I could do
ctrl+space
and the suggestion from vscode shows in the same project without any dependencies. Is there anything I need to do to enable this? I'm using the wrong key binding? Or, do I need to donpm install --save-dev @types/node
?UPDATE 04NOV2023
By doing
npm install --save-dev @types/node
suggestions are working. I just thought that just because I see that the language serverJavaScript
is showing in the status bar I was going to get Node intellisense out of the box without installing@types/node
.Beta Was this translation helpful? Give feedback.
All reactions