PHPantom version
0.8.0
Installation method
Built from source
Operating system
macOS aarch64 (Apple Silicon)
Editor
PHPStorm
Bug description
Usually PHPStorm can show usage for an interface or class via doing CMD + B aka "Decleration or Usages" and show the following diaglog.
But when I do this with the phpantom_lsp attached to PHPStorm it doesn't do anything (other than jump my cursor to the start of the interface name)
You can see the colors for e.g. the comments are different as well, so it does use the new LSP.
Steps to reproduce
Create a EventListenerInterface.php with this content.
<?php
declare(strict_types=1);
namespace Test;
interface EventListenerInterface
{
public function implementedEvents(): array;
}
create a Test.php with this content.
<?php
declare(strict_types=1);
namespace Test;
class Test implements EventListenerInterface
{
public function implementedEvents(): array {
return [];
}
}
you can do "Go to definition" in that Test.php file when you click on the EventListenerInterface, but the other way around it doesn't see, that Test.php uses that interface.
Error output or panic trace
.phpantom.toml
Additional context
No response
PHPantom version
0.8.0
Installation method
Built from source
Operating system
macOS aarch64 (Apple Silicon)
Editor
PHPStorm
Bug description
Usually PHPStorm can show usage for an interface or class via doing
CMD + Baka "Decleration or Usages" and show the following diaglog.But when I do this with the phpantom_lsp attached to PHPStorm it doesn't do anything (other than jump my cursor to the start of the interface name)
You can see the colors for e.g. the comments are different as well, so it does use the new LSP.
Steps to reproduce
Create a
EventListenerInterface.phpwith this content.create a
Test.phpwith this content.you can do "Go to definition" in that
Test.phpfile when you click on the EventListenerInterface, but the other way around it doesn't see, thatTest.phpuses that interface.Error output or panic trace
.phpantom.toml
Additional context
No response