Unable to Jump to Methods Using Ctrl+Click with PHP Intelephense Plugin in Cursor.
I am a paying user of PHP Intelephense and just purchased the plugin this week.
I have followed the steps below:
- Disable the built-in VSCode PHP Language Features:
-
Go to Extensions.
-
Search for
@builtin php
. -
Disable PHP Language Features. Keep PHP Language Basics enabled for syntax highlighting.
-
Note: For best results, other third-party PHP extensions providing similar functionality should also be disabled.
- Add global patterns for non-standard PHP file extensions to the
files.associations
setting:
- For example:
"files.associations": { "*.module": "php" }
.
- Optionally, purchase and enter your license key:
- Open the command palette (Ctrl + Shift + P) and search for “Enter license key.”
Now, the issues I am facing are:
- When hovering the mouse, it shows “Loading…” and remains stuck for several minutes without any result.
- When using Ctrl+Click on a method, it does not jump to the method. Even methods within the same PHP file cannot be jumped to. Only a blue line scrolls horizontally at the top, and after a minute or two, the blue line disappears, but the method still cannot be jumped to.
- When opening the project, it shows “intelephense 1.12.6 indexing…” and keeps spinning for over ten minutes without completing.
Additionally, in the Visual Studio Code editor, opening the same project with the PHP Intelephense plugin installed allows me to use Ctrl+Click to jump to methods.
Indexing works and completes indexing all files.
Tooltips appear above methods.
Ctrl+Click shows a jump prompt box.
Versions:
-
PHP Intelephense version: v1.12.6
-
Cursor version: 0.44.11
-
Visual Studio Code version: 1.96.4 (user setup)