How to fix a messed-up project view in IntelliJ Idea?
Answered
I just created a new Java/Spring/JHipster project. I'm not sure what I picked, but the idea was close. When I start it again, the project view is messed up after a flash of its normal view.
To fix the issue, I have tried the first three steps suggested by Bard, but I don't see "reset" in the project structure.
To fix the issue, I have tried the first three steps suggested by Bard. I don't see “reset” in the project structure.
“There are a few things you can try to fix a messed-up project view in IntelliJ IDEA:
- Restart IntelliJ IDEA. This will often clear up any minor glitches that may be causing the problem.
- Invalidate the caches and restart. To do this, go to File > Invalidate Caches / Restart. This will clear all of IntelliJ IDEA's caches and force it to rebuild them when it restarts.
-
Delete the
.idea
folder. The.idea
folder contains all of IntelliJ IDEA's project settings. Deleting it will force IntelliJ IDEA to recreate the folder and rebuild its project settings from scratch. To do this, close IntelliJ IDEA and then delete the.idea
folder from your project directory. When you restart IntelliJ IDEA, it will automatically recreate the.idea
folder and rebuild its project settings. - Reset the project structure. To do this, go to File > Project Structure and then click the Reset button. This will reset the project structure to its default settings.”
None of them helped to resolve this issue, however. What else shall I try?
Please sign in to leave a comment.
Are there any errors when you import the project from build.gradle in IntelliJ IDEA after deleting .idea directory? What does Build | Sync tool window show?
I don't see any errors. There are only three active menus: build project, rebuild project, and select build variant under build. After I picked any of them, none of them responded.
Please contact support at https://intellij-support.jetbrains.com/hc/requests/new and attach the logs using Help | Collect Logs and Diagnostic Data. Also attach a sample project to reproduce the issue, if possible.