Method References Navigation Shows Unselectable '..' Instead of Actual Results in PHP Files

When using method reference navigation in Cursor IDE for PHP files, the references are displayed as unselectable dots (‘…’) instead of actual navigable results.

Steps to Reproduce:

  1. Open PHP project in Cursor IDE
  2. Attempt to view method references either by:
    • Ctrl+Click on a method name
    • Search for method references

Current Behavior:

  • Search shows correct number of results (screenshot shows 4 results in 2 files)
  • References window shows correct count (“12 references | 0 overrides”)
  • However, instead of showing actual locations, results are displayed as ‘…’
  • These ‘…’ entries are not clickable/selectable, making navigation impossible

Expected Behavior:

  • References should show actual file locations and code previews
  • Results should be selectable and allow navigation to the reference location
  • Should match the behavior of other IDEs where references are fully navigable

Environment:

  • IDE: Cursor
  • Language: PHP
  • File Type: .php files

Impact:
This significantly impacts development workflow as it prevents easy navigation between method references, which is a core IDE functionality.

Visual Evidence:
Screenshot attached shows the issue where references are showing as ‘…’ instead of actual locations.

Additional Notes:

  • The IDE correctly identifies the number of references
  • The problem appears to be with the UI rendering of the references, not the reference finding itself

I’m experiencing the same error, are you also using the PHP extension by Devsense?

I do! Disabling that does seem to solve the issue! Thanks!

I wish they would work together tough…

I switched to PHP Intelephense extension by bmewburn and it works fine with Cursor, it requires some initial configuration but following their Github readme instructions should work fine

1 Like