phpactor icon indicating copy to clipboard operation
phpactor copied to clipboard

[RPC][import_class] Import class command tries to find "(" class

Open tkotosz opened this issue 4 years ago • 1 comments

When I execute the import_class command while the cursor is right before the class name (e.g. __construct(<cursor>MyClass $myClass)) then it tries to find the classes named ( and fails.

This is an edge case, since normally the cursor is after the class name or within the class name and it is working fine in those cases.

tkotosz avatar May 04 '20 07:05 tkotosz

I am assuming that you are using the pipe cursor and not a block cursor. Because if the cursor shows to be after the ( the character under the cursor would still be (.

So I would say that this is a bug.

mamazu avatar Sep 17 '22 15:09 mamazu