DEVSENSE / phptools-docs

PHP Tools public content
Apache License 2.0
84 stars 10 forks source link

Import class at quick-fix sometimes doesn't work #644

Closed ivan88217 closed 2 months ago

ivan88217 commented 2 months ago

It's a really nice feature to import class when I forget to use them. But I found some class will work at quick-fix but some class will not, since update to v1.49

some class works: image

some class doesn't works (v1.49 and above): image

same code at old version works (v1.48 and earlier): image

ivan88217 commented 2 months ago

I found that the same class in the comments can be imported, but the other one in the code cannot.

image image

jakubmisek commented 2 months ago

Thank you for reporting the issue.

Let me check.

jakubmisek commented 2 months ago

Are you using "Quick Fix..." command:

image

Or the "Light Bulb"

image

?

ivan88217 commented 2 months ago

Quick Fix command

jakubmisek commented 2 months ago

I see, thanks!

jakubmisek commented 2 months ago

fixed, will be working again in the next update. Thanks!