Can't see project folders in IntelliJ IDEA

后端 未结 8 1165
半阙折子戏
半阙折子戏 2020-12-24 05:25

Every once in a while, I open an old project and I can\'t see any of the folders in the intelliJ project viewer. I can see all the files at the root.. but no folders. Yes I

相关标签:
8条回答
  • 2020-12-24 05:46

    Check your idea.log -- it may have some details explaining why or what is happening (Help | Reveal log in Explorer). Possibly one of the config files got corrupted.

    You can always backup and delete .idea subfolder (project settings) and re-create project from scratch. When it's wroking again (after basic configuration) you may copy some of the files from that folder back to recover some of your settings (if there were many).

    0 讨论(0)
  • 2020-12-24 05:52

    All the project-specific settings for a project opened through Intellij IDE are stored in the .idea folder.

    The .idea folder (hidden on OS X) in the solution root contains IntelliJ’s project-specific settings files. These include per-project details such as VCS mapping and run and debug configurations, as well as per-user details, such as currently open files, navigation history and currently selected configuration.

    So, if you are not able to see the project file structure in your Intellij IDE, just delete the .idea folder,

    rm -rf .idea

    and reload the project, then after reload you'll be easily able to get your project structure displayed.

    0 讨论(0)
提交回复
热议问题