Unable to Jump to Methods Using Ctrl+Click with PHP Intelephense Plugin in Curso

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:

  1. 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.

  1. Add global patterns for non-standard PHP file extensions to the files.associations setting:
  • For example: "files.associations": { "*.module": "php" }.
  1. 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:

  1. When hovering the mouse, it shows “Loading…” and remains stuck for several minutes without any result.

  1. 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.

  1. 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)

Hey, I have the paid version of this extension for my PHP projects, and everything works properly for me. If you’ve installed Cursor and imported your extensions, try reinstalling this extension. If the issue persists, try installing the pre-release version.

Thank you very much for your response. I have tried uninstalling VSCode, reinstalling Cursor, and installing the preview version of PHP Intelephense, but the issue still persists. I am unable to Ctrl+click to navigate to methods, and there are no method hints when hovering over them with the mouse. Occasionally, Ctrl+clicking works, or the method definitions appear, but as soon as I switch to another file, the functionality stops working again. I have been trying to resolve this issue for several days without success. I am even considering giving up on using Cursor, despite it being the best AI programming tool available.

You might try contacting the extension author because I don’t think the issue is related to Cursor, as everything works fine for me.

1 Like

After I disabled all other extensions to rule out conflicts with other extensions, I was able to use Ctrl+Click to jump to methods. However, when I open a new file and hover over a method, it still shows “Loading…” and takes a few seconds or even a minute before I can Ctrl+Click on the methods in that file. For now, I’ll leave it at that. At the same time, thank you for your enthusiastic answers and assistance.

1 Like