You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 22, 2019. It is now read-only.
I recently decided to try out Crane over Intelliphense, and the main difference I have noticed is that when I am trying to typehint a variable in a method declaration, it will expand the suggested class to it's FQCN instead of importing it.
EG:
publicfunctiononCharged(PaymentC$event)
{
}
Suggests the PaymentChargedEvent class as the typehint, but when I click it, the following happens:
It expands the suggestion to the FQCN, instead of adding a use statement.
I have verified that the Class wasn't already added as a use statement. Is this a setting I can turn off, to set Crane to import the class instead of expanding it?
The text was updated successfully, but these errors were encountered:
Unfortunately there isn't setting for this, but I have a task for Crane to automatically add a use statement when trying to use a class that's not imported.
Sign up for freeto subscribe to this conversation on GitHub.
Already have an account?
Sign in.
I recently decided to try out Crane over Intelliphense, and the main difference I have noticed is that when I am trying to typehint a variable in a method declaration, it will expand the suggested class to it's FQCN instead of importing it.
EG:
Suggests the
PaymentChargedEvent
class as the typehint, but when I click it, the following happens:It expands the suggestion to the FQCN, instead of adding a use statement.
I have verified that the Class wasn't already added as a use statement. Is this a setting I can turn off, to set Crane to import the class instead of expanding it?
The text was updated successfully, but these errors were encountered: