In Window > Preferences > Aptana > Synchronization, click "Add...", and type "/\..*/" in the File Extension/Folder Name: field.