Import from existing sources not pulling in my PHP code
Hello,
Running the latest version. I have various PHP projects that I was able to create projects from but this one specific project, when I try to create from existing sources, it is only showing me the root files and my build folder. All of my classes, includes etc are missing. How can I "reset" this folder so that I can try to re-import this project? I tried removing the .idea file but ended up with the same result.
请先登录再写评论。
Hi there,
Deleting the .idea subfolder is the way to go (it contains project settings).
If that did not helped -- plese check idea.log for possible hints (exceptions/error messages/etc) -- "Help | Show log in..."
How do you do this -- using New Project wizard?
If so -- try "File | Open Directory" (same effect, basically -- project with default settings, no questions asked -- you can configure the rest manually later).
P.S.
Please also try "File | Invalidate Caches..." -- may help (although not sure if it will in such case)
Removed the .idea and tried Open Directory and it worked. Thanks.