HvyIndustries / crane

PHP Intellisense/code-completion for VS Code
https://hvy.io/crane
Other
240 stars 25 forks source link

Crane no longer works after reinstall #358

Open Graloth opened 6 years ago

Graloth commented 6 years ago

I recently tried Crane, had it working just fine. Then I wanted to try out other php intellisense extensions, so I uninstalled Crane.

After trying out another intellisense extension, I installed Crane again, and now it does not work, at all.

All commands are met with errors like: command 'crane.deleteCaches' not found (replace deleteCaches with any crane command)

It seems to not install crane properly again after having uninstalled it.

nevadascout commented 6 years ago

Crane will only be initialised after opening a PHP file within VS Code, have you done this before trying to reindex the workspace?

Graloth commented 6 years ago

I was doing it on my work computer, so I'll give it another go on monday when I get back to work.

Graloth commented 6 years ago

It's working properly after opening a PHP file.

Though you might want to add a message about that if re-indexing fails (just a simple "Do you have a PHP file open within VS Code?" should be the easiest solution).