Edgar KAMDEM Edgar KAMDEM - 12 days ago 8
Git Question

Issues when importing a Symfony project from Github to Intellij IDEA

When I import a Symfony project from GitHub to Intellij IDEA following the official method of JetBrains, I get some weird errors :


  • The Project Navigator Layout becomes horizontal instead of vertical

  • Even when I install all the dependencies through composer (without errors), install Symfony plugin and running my project very well, I get many symfony components red. I don't really know why !



Here is a screenshot of that project :

enter image description here

Please help !

Answer

Try this:

  • Close Intellij Idea
  • Go to your project directory using terminal cd <project/ditectory>
  • Delete .idea folder rm -rf .idea
  • Open your project again in intellij.