Extension doesnt work when not in default root folder.
RidoneMuh opened this issue · 2 comments
RidoneMuh commented
amir9480 commented
@RidoneMuh
I think you should use the base path configuration like this:
"LaravelExtraIntellisense.basePath": "/yourprojectpath/yourproject/code",
There is also a sample configuration for docker (Laradock in my case) please check it out.
scofield-ua commented
I've used a different command for LaravelExtraIntellisense.basePath
:
docker exec $(docker ps --filter name=-app --format '{{.ID}}') php -r "{code}"
Command inside $()
will filter by name -app
and output ID of the container.
So first I boot up the application with docker compose up
where I have container with PHP and name which ends with the -app
string.