Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unknown Column #1546

Closed
juliangums opened this issue May 15, 2024 · 5 comments
Closed

Unknown Column #1546

juliangums opened this issue May 15, 2024 · 5 comments
Labels

Comments

@juliangums
Copy link

Versions:

  • ide-helper Version: latest
  • Laravel Version: latest
  • PHP Version: latest

Question:

How do I get PHPStorm to recognize columns? I generated all the model stuff etc like php artisan ide-helper:models

Screenshot 2024-05-15 at 16 28 22
@mfn
Copy link
Collaborator

mfn commented May 15, 2024

It doesn't / can't. For that you need IDE plugins which can do this on their own.

The major assistance with models is $model-><attribute> to autocomplete / introspect on that level. Not in ->where('<column>').

@mfn mfn closed this as completed May 15, 2024
@juliangums
Copy link
Author

@mfn do you know any plugin that can?

@mfn
Copy link
Collaborator

mfn commented May 16, 2024

Not by usage. Is that PhpStorm? There are various Laravel plugins (also for $$$), I guess you could check/trial them.

@juliangums
Copy link
Author

Yeah. The paid Laravel plugin doesn't do it. I'm already using it. Nothing in settings. Thanks anyway.

@juliangums
Copy link
Author

I had to connect the database in phpstorm.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants