Default Textmate file and folder reference patterns

Tuesday, March 3rd, 2009

I had some weird behaviour with textmate today, random files and folders were not showing up in projects, after a little investigation I discovered that some tweaks I made to textmate’s regex patterns for what files to include on a different mac had been synced over mobileme.

I went in search of the defaults that come with a fresh copy of textmate but couldn’t find them, thankfully @ioptics hadn’t messed with his settings and sent me a copy:

File Pattern
!(/\.(?!htaccess)[^/]*|\.(tmproj|o|pyc)|/Icon\r|/svn-commit(\.[2-9])?\.tmp)$

Folder Pattern
!.*/(\.[^/]*|CVS|_darcs|_MTN|\{arch\}|blib|.*~\.nib|.*\.(framework|app|pbproj|pbxproj|xcode(proj)?|bundle))$

Leave a Comment