Frequently Asked Questions

  1. How do I enter my licence key?

    Visual Studio Code

    You can enter your licence key in Visual Studio Code by opening the command pallete -- ctrl + shift + p -- and searching for Enter licence key.

    Other LSP client

    If your LSP client exposes InitializeParams.initializationOptions, you can pass the licence key or a path to a txt file containing the licence key as an initialisation option property named licenceKey.

    If you are unable or unwilling to provide the key via the above option then you can place your licence key in a text file at:

    YOUR_HOME_DIR/intelephense/licence.txt

    Where YOUR_HOME_DIR is:

    POSIX: Will use the $HOME environment variable if defined. Otherwise, it will use the effective UID to look up the user's home directory.

    Windows: Will use the USERPROFILE environment variable if defined. Otherwise it will be the path to the profile directory of the current user.