Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to see java files in project tree in intellij idea?

I'm working with intellij idea but I can't see the java source files in the project tree. I see the packages, I can open it, but the class files are not displayed. Any idea? This has worked until a few days ago...

like image 869
Neo Avatar asked Oct 29 '13 09:10

Neo


4 Answers

Below the menubar , on the left there is a dropdown which in your case may be showing "packages" now (because you can see the packages). From the same dropdown, select "Project Files" below "SCOPES"

like image 120
sankar Avatar answered Nov 15 '22 06:11

sankar


Under the intelliJ IDEA 14.0.3 community edition, upon launch I don't see my project folders. I found by going into

View > Tool Windows > Project

seems to show the folder structure.. Same as ALT + 1

like image 20
V H Avatar answered Nov 15 '22 06:11

V H


You need to check out the project correctly if you are checking out from SVN repo or you must not have selected correct project folder.

You can also configure your project from File->Project Structure check your Source folder is excluded or not.

Also Alt+1 will give you project structure of files in tree format

like image 40
Shoaib Chikate Avatar answered Nov 15 '22 08:11

Shoaib Chikate


Check in "Project Structure" (ctrl+alt+shift+S) if you didn't set your source as "Excluded" (in Modules, sources).

like image 26
Tyco Avatar answered Nov 15 '22 07:11

Tyco