Build autocomplete database
I try to make the message autocomplete database not found disappear from my project.
I searched a little and found that I have to build this autocomplete database from the command palette, so I ran it and selected phpfmt: build autocomplete database
Then a message opens up, asking me to “fill in below” a path.
Autocomplete and autoimport need building a database of terms.
Please, fill in below with the proper location for this database.
Keep in mind that the best location is always the root of the project, therefore limiting the size and ensuring speed.
But below what ? I'm not even able to edit this message which seems to be read-only.
What am I supposed to do ? What is the requested database format (text, sqlite...) ? Am I supposed to create the database file before adding the database path ? Where can I add this database path ?
@nanch Can we have insights regarding this issue, please ?
@loranger SQLite3 must be enabled in your PHP configuration. The generated file will be named '.php.tools.cache'
@MKCG Thank you so much for your support.
SQLite 3 is enabled
$ php -m | grep sqlite
pdo_sqlite
sqlite3
But I can't find any .php.tools.cache anywhere.
Am I supposed to build it ?