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
I've recently done a PlugUpdate and received last changes, until now I could import a class positioning the cursor-> menu->im(p)ort, now it's giving me the following error:
Key(s) "name" are not known, known keys: "qualified_name", "alias", "offset", "source", "path"
Although I still call import when auto-completing a class.
Importing from menu now works, except when you are positioned at the last char of the word. In that case an error message shows No classes found with name " ". This was working before (I use your software every working day!).
Same note here. I switched a few days ago to develop and it's amazing except this regression: not possible to use a class when we are on the last char (worked before). Same message as @vivoconunxino : No classes found with name " ".
Fixed in phpactor/text-document@053f321 and updated in develop, will hopefully that's fine and I'll make tag a new version of text-document and update master.
Activity
dantleech commentedon Sep 5, 2019
Oops, yes this is a regression.
Fixed import-class menu entry regression #816
dantleech commentedon Sep 5, 2019
I have added a fix to master, can you verify?
fcojavierdomenech commentedon Sep 5, 2019
Sure, I've updated again and now works perfectly. Thanks a lot!
fcojavierdomenech commentedon Sep 6, 2019
Sorry, I did a quick check and worked but in fact there is still some kind of bug going on.
As I said now it imports, but it does at the same namespace, not the real one.
For instance, one of my domains, Booking.
Importing with the cursor-> menu->im(p)ort does a:
use Booking;while the autocompletion import (this works fine):
use Api\Service\Booking\Domain\Booking;Fixes import-class attempt #2 #816
dantleech commentedon Sep 6, 2019
Doh, have updated master again -- 🤞 -- planning to refactor the context menu, but really shows up where the tests are missing ...
fcojavierdomenech commentedon Sep 7, 2019
Importing from menu now works, except when you are positioned at the last char of the word. In that case an error message shows
No classes found with name " ". This was working before (I use your software every working day!).einenlum commentedon Sep 13, 2019
Same note here. I switched a few days ago to
developand it's amazing except this regression: not possible to use a class when we are on the last char (worked before). Same message as @vivoconunxino :No classes found with name " ".Fix #816 via. text-document update
dantleech commentedon Sep 13, 2019
Fixed in phpactor/text-document@053f321 and updated in develop, will hopefully that's fine and I'll make tag a new version of
text-documentand update master.dantleech commentedon Sep 13, 2019
Master has been updated.
0.14.0 Release (#899)
Release 15 (#1003)