nanch / phpfmt_stable

This is a stable snapshot (version 6125cf9) of the phpfmt plugin for Sublime Text
143 stars 34 forks source link

Build autocomplete database #15

Open loranger opened 7 years ago

loranger commented 7 years ago

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 ?

loranger commented 7 years ago

@nanch Can we have insights regarding this issue, please ?

MKCG commented 6 years ago

@loranger SQLite3 must be enabled in your PHP configuration. The generated file will be named '.php.tools.cache'

loranger commented 6 years ago

@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 ?