- Edited
rabol Thank you for the details!
Formatting: please make sure you set Format: Code Style to "Laravel"
Features: Create View, GoTo View, Generating Factory and tests, ...
Working on it, thanks for the suggestions!IntelliSense: what version of Laravel do you use? I've noticed versions <= 8 have poor annotations. With Laravel >= 9, you should see the following data tool tips:
- Tooltip on
::first()
should properly recognize that it's returningUser
- After
->
you should see all the methods from traits, mixins, and eloquent extensions.
- Tooltip on
ide helper is not needed as you mentioned :) but it may add some annotations for older Laravel framework sources.
auto import classes is there; it auto-imports when typing, or it can be invoked using a code action, or a quick fix:
I can see, if you just type "User", it does not auto-import. VSCode needs you to select the corresponding item in the code completion - I'll see if we can improve that behavior.
Quick fix is available, but note it's a premium feature.