ray icon indicating copy to clipboard operation
ray copied to clipboard

Using PhpStorm, I am not taken to the stated object.

Open lcallif opened this issue 1 month ago • 0 comments

Ray 3.3.0-beta.19Laravel 12.40.2 Livewire 3.7.0 PhpStorm 2025.3.1 Livewire Flux/Pro 2.9.0

2 Issues, neither are show stoppers, and both may be the way it works or will work.

Livewire Controller public $theAreaSingular ='customer';

In the render function ray($this->theAreaSingular);

Potential Issue(s)

  1. The display references Customeredit.php:47, but it is "class CustomerEdit extends Component" and the file name is CustomerEdit.php

    • It is EXTREMELY helpful to see the file name and row which is being done now. However, I don't know if the real file name would ever matter. Also, this may be the intended way to have it work.
  2. When clicking on the filename I am taken to PhpStorm, but not to the Component which in this care is "CustomerEdit.php".

    • Again, this is a VERY cool feature of being shown the component name and row # and this is NOT a show stopper. Also, this may be the intended way to have it work.

The following is a very slimmed down portion of my Component, but will demonstrate the above 2 items:

<?php

namespace app\Livewire\Customer;

use App\CacheService;
use Livewire\Component;
class CustomerEdit extends Component
{
    public $theAreaSingular ='customer';
    public function render()
    {
        ray($this->theAreaSingular);
        return view('livewire.' . $this->theAreaSingular . '.' . $this->theAreaSingular . 'edit');
    }
}

Thank you for this amazingly helpful product.

lcallif avatar Nov 28 '25 20:11 lcallif