I've got a bunch of class files for a Java project, but it's not detecting them as part of the folder.
Finder: http://i.imgur.com/u1sMJ.png
Eclipse: http://i.imgur.com/EOXwG.png
It's annoying that I can't seem to access them.
Eclipse shows hidden files in the "Navigator" view. You can add that via Window->Show View->Navigator. With Eclipse 4.14 for Mac OS X: Window > Navigation > Show View Menu > Filters ans Customization, then after just uncheck . * resources.
To view the project explorer, click on Window menu then, click on Show View and select Project Explorer. There is simpler way to open project explorer, when you are in the editor press alt + shift + w and select project explorer.
To add a linked folder to your project, click File > New > Folder to display the New Folder dialog box. Click Advanced, select Link to alternate location (Linked Folder), and then navigate to the folder that you want to link to.
Right click the project, and click "Refresh". That should solve it. You can also go to the preferences and enable "Refresh by native hooks or polling" and "refresh on Access" in General > Workspace
If you copy files into the project folder via the Finder (or Windows Explorer), then by default you need to refresh Eclipse in order to sync it to the underlying file system. Alternatively, you can avoid copying files into the project outside of Eclipse and instead use Eclipse's Navigator (similar to Finder) or Package Explorer views -- you can drag from the file system and drop into the Navigator view, for example.
There are also a couple of Refresh options in Eclipse > Preferences > General > Workspace which may help to automatically sync things.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With