Marius van Witzenburg We fight for our survival, we fight!

14Jun/110

How to show hidden .htaccess files in Eclipse and Aptana

Posted by mariusvw

Most webdevelopers require .htaccess files to be visible in their projects, since by default Eclipse and Aptana both hide files starting with a . (=period) this can be quite irritating since you have to open the file from your operating system file explorer.

The fix to make .htaccess files visible is quite simple, you have to modify the file browser view filter to show hidden files but hide certain file types so you won't get a mess in your view.

First goto the filters menu by clicking the little arrow on the top right of the file browser and click 'Filters...'.

See the menu below:

When you are at the filter menu you will see the following window:

In this window uncheck '.* resources' and check 'Name filter patterns (matching names will be hidden):'.

Now you have to add a filter because you will be flooded by hidden files in your file explorer.
The filter I used is:

._*, .svn, .cvsignore, _notes, .*.swp, .DS_Store, .AppleDouble, .project, .buildpath, .settings, .git, .nbproject

You might append more filters to your needs.

In case you have a remote filesystem plugin installed you might need to check 'Show hidden files' in your preferences.

This is an example how this window might look:

Another handy thing to know, never edit the .project file!

That was about it for now, happy coding! ;-)

14Jun/111

How to fix “Subclipse unable to load default svn client” error in Eclipse & Aptana

Posted by mariusvw

I've been strugling with this error for about 20 minutes just wondering what I was doing wrong...

Well, the solution is quite simple. You have install all packages below:

SVNKit Library
JNA Library
CollabNet Merge Client
Subclipse (Required)
Subversion Client Adapter (Required)
Subversion JavaHL Native Library Adapter (Required)
Subversion Revision Graph

You can see the installation window below: