Open exbit opened 2 years ago
Yep, I get this a bit. Also, namespace imports aren't suggested half the time (half the time they are?).
$product = Product
should yield an autocomplete list including an import suggestion of App\Models\Product
but copilot thinks its clever and suggests code without the import (e.g. Product::first()
). Even if you tab in the copilot suggestion and move the cursor back to the class name (and backspace then retype last character) it won't suggest the class import.
The two plugins are clashing.. out of Intelephense and copilot, it'll be copilot that's first to go for me, but I'd like to see if they can work harmoniously
+1
If you install GitHub Copilot, then dockblock autocommit does not work:
When I type:
/**
instead of autocomplete intelephense, autocomplete copilot appears:
If copilot is disabled, then intelephense autocomplete works:
Debian 11, PHP 8.1, PHP Intelephense v1.8.2