Viewing .htaccess in Remote Connections in Eclipse
I’ve been trying to view .htaccess files in a web site connected to remotely in Eclipse. These do not appear in file listings so they can’t be opened. I’ve added an .htaccess file type, but that didn’t work. After searching around in the Preferences (found in the Windows pull down menu), I found an option in the Remote Systems->File section. If you check on Show hidden files, then .htaccess will appear (you may need to Refresh the folder first). Then you can open the file by double-clicking on it.
I’ve shown below where this option can be found in Eclipse 3.3.2 and the new Zend Studio for Eclipse. Click on the image for a larger view.
Preferences in Eclipse 3.3.2
Preferences in Zend Studio for Eclipse