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
<?phpnamespaceMy\Name\Space;
class MyClass {
publicfunctiontestFunction() {
newDateTi//case 1
new \DateTi//case 2
}
}
For case one padawan is giving suggestions when pointing on 9th column (D letter), but for the case 2 when pointing at 10th column (D letter as in case 1).
Is that how it should be?
I'm not even sure if the case 1 should be suggested as the code is invalid (it's creating My\Name\Space\DateTi.... For the second case, shouldn't completion work when pointing at backslash (as it is part of the class name)?
The text was updated successfully, but these errors were encountered:
that's because padawan uses same completer for use completion and classes completion after new and extends. So we need new completer that will check uses and will create relative name
When I have class with namespace like this:
For case one padawan is giving suggestions when pointing on 9th column (D letter), but for the case 2 when pointing at 10th column (D letter as in case 1).
Is that how it should be?
I'm not even sure if the case 1 should be suggested as the code is invalid (it's creating
My\Name\Space\DateTi...
. For the second case, shouldn't completion work when pointing at backslash (as it is part of the class name)?The text was updated successfully, but these errors were encountered: