bmewburn / vscode-intelephense

PHP intellisense for Visual Studio Code
https://intelephense.com
Other
1.61k stars 94 forks source link

Index custom file extensions, not only .php #454

Closed BernhardBaumrock closed 5 years ago

BernhardBaumrock commented 5 years ago

Hello and thank you for the great extension! It helps me every single day :)

My problem is that my CMS (ProcessWire) has lots of code in so called modules that all have the file ending .module. So Intelephense is not indexing those files. Or is it already possible to tell Intelephense to do so?

I think this would be a great addition and may also help lots of other users in different scenarios!

Thx

bmewburn commented 5 years ago

Hello @BernhardBaumrock , with 1.0.x an additional setting was introduced intelephense.files.associations which accepts globs to match php files which should be indexed. Previously the vscode files.associations setting was used.

BernhardBaumrock commented 5 years ago

Thank you @bmewburn , it workes! This will help serveral people in our community :)