sublimelsp / LSP-intelephense

PHP support for Sublime's LSP plugin provided through intelephense.
MIT License
96 stars 3 forks source link

licence key file created in each indexed folder #74

Closed franck-paul closed 2 years ago

franck-paul commented 2 years ago

I put "$licenceKey": "${packages}/User/intelephense-license.txt"  as setting (in "initializationOptions": {…} ) but LSP-intelephense still create a folder ~\.intelephense\intelephense_license_key_XXXX in each indexed folder as soon as open a PHP file in them.

Is there any option to avoid this behavior?

PS: The intelephense-license.txt has been created in ${packages}/User folder and contains my license key.

jfcherng commented 2 years ago

Fwiw, this should be an issue for the server, intelephense. https://github.com/bmewburn/vscode-intelephense It's used to prevent from validating license online frequently.

You can change where intelephense stores it though. https://github.com/sublimelsp/LSP-intelephense/blob/0993fe5b728459292509bba5fc812d607d9bad27/LSP-intelephense.sublime-settings#L6-L7