I cannot see intellisense for firebase-fucntions or any other built-in function in VS Code

Viewed 664

My problem is exactly as in title. When I write anything, VS Code suggests nothing but things that I've already written.

enter image description here

It suggested firebase. Because above I wrote const functions = require('firebase-functions'); It recognizes firebase from there.

enter image description here

Whenever I type something that I've not wrote before, it fails to suggest. Also even if I have all required node_modules, I cannot see source code from index.js.

I don't know if it helps but here is how my project looks like:

enter image description here


Edit: I switch IDE from VS Code to Webstrom. Now it's working.

1 Answers
  1. Install firebase & firebase tools globally as follow :

    npm i -g firebase firebase-tools

2.go to the project directory and also save it to the project dependencies :

npm i firebase firebase-tools --save
  1. install VS extension : npm intellisense
Related