Namespace suggestions: the code dir is marked as Sources Root but I don't get any. I just can't find any info about it. Looks like everyone in video tutorials just have it and nobody pays attention.

Code suggestions: I get them sometimes, but not always. I think it's because sometimes classes are not mapped and cannot be mapped by default php standards. Are there any extensions to help with this?


1 Answer 1


Some files in magento are auto generated plus you've got the composer installed files.

Therefore to get code hints on everything make sure you have an up-to-date vendor folder and generated folder in your local workspace.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.