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
Unclear if this is related to #561 or not, but new classes added to my project are not showing up as tab completion targets. I'm able to reference the classes directly by their FQCN so I know the autoloading is configured and working correctly. I just can't see them as options when tab completing.
I've tried composer dump-autoload in case that might matter but it doesn't seem to have any impact. I've seen other people asked to include \psy\info() so I'm including that here. Happy to provide anything else that might help debug this.
Actually, one thing that isn't clear to me: will this only tab complete namespaces and classes that exist, or namespaces and classes that have been autoloaded? If that is spelled out in the docs somewhere I missed it.
Yep. Because autoloading happens on demand, and PHP has no way of enumerating all the classes that could be autoloaded (without trying all files it finds) it only works with classes you've already autoloaded. See #539 (comment) for an idea about how we could improve this :)
Unclear if this is related to #561 or not, but new classes added to my project are not showing up as tab completion targets. I'm able to reference the classes directly by their FQCN so I know the autoloading is configured and working correctly. I just can't see them as options when tab completing.
I've tried
composer dump-autoload
in case that might matter but it doesn't seem to have any impact. I've seen other people asked to include\psy\info()
so I'm including that here. Happy to provide anything else that might help debug this.The text was updated successfully, but these errors were encountered: