Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Folders not visible in RubyMine

Tags:

rubymine

I am using RubyMine 8.0.3, I have 3 folders and 2 .rb files in controller/api/v1 , none out of 3 folders are visible but both .rb files are visible. I reopened the the IDE but nothing happened. I also tried the solutions mentioned in the following link: RubyMine Folder Tree doesn't refresh

Note:

1: When I open my project in sublime all folders are visible.

2: I have added .idea/ in my .gitignore file.

like image 220
Imran Ahmad Avatar asked Apr 23 '16 19:04

Imran Ahmad


2 Answers

I couldn't find the source of the problem, but deleting the .idea/ folder worked for me.

like image 98
Niek Avatar answered Nov 18 '22 00:11

Niek


I had a similar incident, but did not want to delete the .idea folder. After poking in the Preferences, I found that under Project Structure, the content root had gone missing. After clicking Add Content Root and double-clicking the root folder of the code, the subfolders are now visible.

Hope this helps others as it looks like you found the solution!

like image 5
BnVnSn Avatar answered Nov 18 '22 01:11

BnVnSn