By default, Eclipse won't show my .htaccess file that I maintain in my project. It just shows an empty folder in the Package Viewer tree. How can I get it to show up? No obvious preferences.
|
In the package explorer, in the upper right corner of the view, there is a little down arrow. Tool tip will say view menu. From that menu, select filters
From there, uncheck .* resources. So With Eclipse Kepler and OS X this is a bit different:
|
|||||||||||||||||||||
|
|
|
||||
|
|
|
Eclipse shows hidden files in the "Navigator" view. You can add that via Window->Show View->Navigator. |
|||
|
|
|
Cory is correct @ If you're using Eclipse PDT, this is done by opening up the PHP explorer view I just spent about half an hour looking for the little arrow, until I actually looked up what the 'PHP Explorer' view is. Here is a screenshot:
|
||||
|
|
|
For Project Explorer View: -- |
|||
|
|
|
On Mac: Eclipse -> Preferences -> Remote Systems -> Files -> click Show Hidden Files. |
|||||
|
|
I'm using 64 bit Eclipse for PHP Devleopers Version: Helios Service Release 2 It cam with RSE.. None of the above solutions worked for me... What I did was similar to scubabble's answer, but after clicking the down arrow (view menu) in the top of the RSE package explorer I had to mouseover "Preferences" and click on "Remote Systems" I then opened the "Remote Systems" nav tree in the left of the preferences window that came u and went to "Files" Underneath a list of File types is a checkbox that was unchecked: "Show hidden files" CHECK IT! |
|||||||||
|
|
In my case, I wanted to see .htaccess files, but not all the other .* resources. |
|||
|
|
|
If using Zend Studio, same arrow, go to RSE view, click on the downward facing arrow, hit preferences, and then check show hidden files. That did the trick for me. Cheers, Valentin |
|||
|
|
|
If you're using Eclipse PDT, this is done by opening up the PHP explorer view, then clicking the upside-down triangle in the top-right of that window. A context window appears, and the filters option is available there. Clicking the Filters menu option opens a new window, where .* files can be unchecked, thus allowing the editing of .htaccess files. I searched forever for this, so I'm sorta answering my own question here. I'm sure someone else will have the same problem too, so I hope this helps someone else as well. |
|||
|
|
|
In your package explorer, pull down the menu and select "Filters ...". You can adjust what types of files are shown/hidden there. Looking at my Red Hat Developer Studio (approximately Eclipse 3.2), I see that the top item in the list is ".* resources" and it is excluded by default. |
|||
|
|
protected by Will Jul 21 '10 at 17:58
Thank you for your interest in this question.
Because it has attracted low-quality answers, posting an answer now requires 10 reputation on this site.
Would you like to answer one of these unanswered questions instead?
